JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
config.h - Added debug() macro, fixed Makefile and sound.c to use it.
[vor.git] / config.h
index 3bbb662..0c04fde 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,6 +1,8 @@
 #ifndef VOR_CONFIG_H
 #define VOR_CONFIG_H
 
+#define debug(x) if(DEBUG) { x; }
+
 #define VERSION "0.1"
 #define DATA_PREFIX "/usr/share/vor"