Add debugging support.
[sgt/puzzles] / puzzles.h
index 0bdb581..09848d7 100644 (file)
--- a/puzzles.h
+++ b/puzzles.h
@@ -122,7 +122,8 @@ struct config_item {
  * Platform routines
  */
 
-#ifdef DEBUG
+/* We can't use #ifdef DEBUG, because Cygwin defines it by default. */
+#ifdef DEBUGGING
 #define debug(x) (debug_printf x)
 void debug_printf(char *fmt, ...);
 #else