From: Joe Wreschnig Date: Sun, 7 Apr 2013 16:52:05 +0000 (+0200) Subject: Compatibility with old-but-newer-than-C89 compilers. X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=commitdiff_plain;h=42f03179903be5a86084b56dd2c25d984049ee99;ds=sidebyside Compatibility with old-but-newer-than-C89 compilers. --- 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 */