mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Change the preprocessor symbol DEBUG' to
DEBUGGING', since the
former is automatically defined by Cygwin. [originally from svn r6007]
This commit is contained in:
@ -122,7 +122,8 @@ struct config_item {
|
|||||||
* Platform routines
|
* Platform routines
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef DEBUG
|
/* We can't use #ifdef DEBUG, because Cygwin defines it by default. */
|
||||||
|
#ifdef DEBUGGING
|
||||||
#define debug(x) (debug_printf x)
|
#define debug(x) (debug_printf x)
|
||||||
void debug_printf(char *fmt, ...);
|
void debug_printf(char *fmt, ...);
|
||||||
#else
|
#else
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#define HELP_FILE_NAME "puzzles.hlp"
|
#define HELP_FILE_NAME "puzzles.hlp"
|
||||||
#define HELP_CNT_NAME "puzzles.cnt"
|
#define HELP_CNT_NAME "puzzles.cnt"
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUGGING
|
||||||
static FILE *debug_fp = NULL;
|
static FILE *debug_fp = NULL;
|
||||||
static HANDLE debug_hdl = INVALID_HANDLE_VALUE;
|
static HANDLE debug_hdl = INVALID_HANDLE_VALUE;
|
||||||
static int debug_got_console = 0;
|
static int debug_got_console = 0;
|
||||||
|
Reference in New Issue
Block a user