From 42f03179903be5a86084b56dd2c25d984049ee99 Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Sun, 7 Apr 2013 18:52:05 +0200 Subject: [PATCH] Compatibility with old-but-newer-than-C89 compilers. --- mdport.c | 3 --- rogue.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mdport.c b/mdport.c index 03ebaf1..054324f 100644 --- a/mdport.c +++ b/mdport.c @@ -85,9 +85,6 @@ md_init() #if defined(__DJGPP__) || defined(_WIN32) _fmode = _O_BINARY; #endif -#if defined(__CYGWIN__) || defined(__MSYS__) - ESCDELAY=250; -#endif } int diff --git a/rogue.h b/rogue.h index 52678e0..dbf4e6c 100644 --- a/rogue.h +++ b/rogue.h @@ -10,6 +10,10 @@ * See the file LICENSE.TXT for full copyright and licensing information. */ +#define NULL ((void *)0) +#define TRUE 1 +#define FALSE 0 + /* * Maximum number of different things */ -- 2.30.2