force TIMED_DELAY for OSX

Outputing extra characters to induce a delay is useless on OSX, so set
TIMED_DELAY by default instead of relying on user to do it.
This commit is contained in:
PatR
2015-12-28 14:35:23 -08:00
parent ff30a56e3e
commit 901317f57c
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -88,6 +88,8 @@ win32gui: getversionstring() was overflowing the provided Help About buffer
win32gui: guard against buffer overflow in in mswin_getlin() win32gui: guard against buffer overflow in in mswin_getlin()
MacOSX: initial binary release was built from out of date source code that MacOSX: initial binary release was built from out of date source code that
had 'BETA' and 'DEBUG' inappropriately enabled had 'BETA' and 'DEBUG' inappropriately enabled
MacOSX: force TIMED_DELAY build option on so that 'runmode' run-time option
is functional
X11: core bug for '`' (backtick) command was only noticed by X11 interface, X11: core bug for '`' (backtick) command was only noticed by X11 interface,
which issued impossible message "add_menu: called before start_menu" which issued impossible message "add_menu: called before start_menu"
+4 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 3.6 unixconf.h $NHDT-Date: 1447755973 2015/11/17 10:26:13 $ $NHDT-Branch: master $:$NHDT-Revision: 1.24 $ */ /* NetHack 3.6 unixconf.h $NHDT-Date: 1451342112 2015/12/28 22:35:12 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.25 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */ /* NetHack may be freely redistributed. See license for details. */
@@ -130,6 +130,9 @@
*/ */
/* #define TIMED_DELAY */ /* usleep() */ /* #define TIMED_DELAY */ /* usleep() */
#endif #endif
#if defined(MACOSX) && !defined(TIMED_DELAY)
#define TIMED_DELAY
#endif
/* /*
* If you define MAIL, then the player will be notified of new mail * If you define MAIL, then the player will be notified of new mail