summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 90244580..6031364f 100644
--- a/src/common.h
+++ b/src/common.h
@@ -133,7 +133,8 @@ inline float sq(float x) { return x*x; }
int myrand(void);
void mysrand(unsigned int seed);
-#define debug printf
+#define debug(f, ...) printf("[DBG]: " f "\n", __VA_ARGS__)
+#define DEV(f, ...) printf("[DEV]: " f "", __VA_ARGS__)
#define ASSERT assert
#define _TODO(x)