summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 08eff455..9acf7638 100644
--- a/src/common.h
+++ b/src/common.h
@@ -134,7 +134,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)