aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-06-24 11:05:43 +0000
committerSimon Tatham <anakin@pobox.com>2005-06-24 11:05:43 +0000
commit5fc29f7717e8c7b23c3c2debfa37a4ea5aef340f (patch)
tree8dcc19055af79aa2d9b7a036eef3075bf6b667f3 /puzzles.h
parent249d345ed436c32a2013cb6917a5f8f36aa656b2 (diff)
downloadpuzzles-5fc29f7717e8c7b23c3c2debfa37a4ea5aef340f.zip
puzzles-5fc29f7717e8c7b23c3c2debfa37a4ea5aef340f.tar.gz
puzzles-5fc29f7717e8c7b23c3c2debfa37a4ea5aef340f.tar.bz2
puzzles-5fc29f7717e8c7b23c3c2debfa37a4ea5aef340f.tar.xz
Change the preprocessor symbol `DEBUG' to `DEBUGGING', since the
former is automatically defined by Cygwin. [originally from svn r6007]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/puzzles.h b/puzzles.h
index 0bdb581..09848d7 100644
--- 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