aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2017-10-04 22:10:05 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2017-10-04 22:10:05 +0200
commit26a1d351025317b16263953fd5254e8f027dd651 (patch)
tree47db8822d440ca28cd81197bd6b0cc0c56ef91f6 /colorize.c
parent12f28b9a2c7da79b31eec0e02ef12acc7c635f71 (diff)
downloadcolorize-26a1d351025317b16263953fd5254e8f027dd651.tar.gz
colorize-26a1d351025317b16263953fd5254e8f027dd651.tar.bz2
Define DEBUG_FILE under DEBUG only
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index 218713d..cefde45 100644
--- a/colorize.c
+++ b/colorize.c
@@ -116,7 +116,9 @@
# define COLOR_SEP_CHAR '/'
#endif
-#define DEBUG_FILE "debug.txt"
+#if DEBUG
+# define DEBUG_FILE "debug.txt"
+#endif
#define MAX_ATTRIBUTE_CHARS (6 * 2)