change NetHack's MACOSX references to MACOS
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
* Mac Stuff.
|
||||
*/
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#define MACOSX
|
||||
#define MACOS
|
||||
#endif
|
||||
|
||||
#ifdef macintosh /* Auto-defined symbol for MPW compilers (sc and mrc) */
|
||||
|
||||
@@ -424,7 +424,7 @@ struct savefile_info {
|
||||
#if defined(__linux__) && defined(__GLIBC__) && (__GLIBC__ >= 2)
|
||||
#define PANICTRACE_LIBC
|
||||
#endif
|
||||
#if defined(MACOSX)
|
||||
#if defined(MACOS)
|
||||
#define PANICTRACE_LIBC
|
||||
#endif
|
||||
#ifdef UNIX
|
||||
|
||||
@@ -91,13 +91,13 @@ E int srandom(unsigned int);
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
#if defined(MACOSX)
|
||||
#if defined(MACOS)
|
||||
E long lrand48(void);
|
||||
E void srand48(long);
|
||||
#else
|
||||
extern long lrand48(void);
|
||||
extern void srand48(long);
|
||||
#endif /* MACOSX */
|
||||
#endif /* MACOS */
|
||||
#endif /* BSD || ULTRIX || RANDOM */
|
||||
|
||||
#if !defined(BSD) || defined(ultrix)
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
*/
|
||||
/* #define TIMED_DELAY */ /* usleep() */
|
||||
#endif
|
||||
#if defined(MACOSX) && !defined(TIMED_DELAY)
|
||||
#if defined(MACOS) && !defined(TIMED_DELAY)
|
||||
#define TIMED_DELAY
|
||||
#endif
|
||||
|
||||
@@ -335,7 +335,7 @@
|
||||
/* the high quality random number routines */
|
||||
#ifndef USE_ISAAC64
|
||||
# if defined(BSD) || defined(LINUX) || defined(ULTRIX) || defined(CYGWIN32) \
|
||||
|| defined(RANDOM) || defined(MACOSX)
|
||||
|| defined(RANDOM) || defined(MACOS)
|
||||
# define Rand() random()
|
||||
# else
|
||||
# define Rand() lrand48()
|
||||
@@ -392,7 +392,7 @@
|
||||
#endif /* LINUX */
|
||||
#endif /* GNOME_GRAPHICS */
|
||||
|
||||
#if defined(MACOSX) && !defined(LIBNH)
|
||||
#if defined(MACOS) && !defined(LIBNH)
|
||||
# define RUNTIME_PASTEBUF_SUPPORT
|
||||
#endif
|
||||
|
||||
@@ -405,7 +405,7 @@
|
||||
#ifdef LINUX
|
||||
# define DEV_RANDOM "/dev/urandom"
|
||||
#else
|
||||
# if defined(BSD) || defined(MACOSX)
|
||||
# if defined(BSD) || defined(MACOS)
|
||||
# define DEV_RANDOM "/dev/random"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user