aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2013-05-18 23:41:27 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2013-05-18 23:41:27 +0200
commit3909af9b23ca267137ee58e50f7df03ca2ac0904 (patch)
tree60c2d900b580e52e0532517b028353f0cb16c461
parent3d5b13e82c314f1c70e1bc44cfe5291017b4bd79 (diff)
downloadcolorize-3909af9b23ca267137ee58e50f7df03ca2ac0904.tar.gz
colorize-3909af9b23ca267137ee58e50f7df03ca2ac0904.tar.bz2
Allow for DEBUG to be overridden
-rw-r--r--colorize.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index 8514d4e..652d3a6 100644
--- a/colorize.c
+++ b/colorize.c
@@ -34,7 +34,9 @@
#include <time.h>
#include <unistd.h>
-#define DEBUG 0
+#ifndef DEBUG
+# define DEBUG 0
+#endif
#define str(arg) #arg
#define to_str(arg) str(arg)