]> granicus.if.org Git - nethack/commitdiff
MacOSX: no lrand48()
authorwarwick <warwick>
Wed, 23 Jan 2002 02:26:02 +0000 (02:26 +0000)
committerwarwick <warwick>
Wed, 23 Jan 2002 02:26:02 +0000 (02:26 +0000)
No lrand48() on MacOSX, since MacOSX is really BSD.

include/unixconf.h

index f5ea913a0843af44f255f607f714db27d50c49cd..288a3af5a6998c6081fe5f434e55fbbd996b8627 100644 (file)
 #endif
 
 /* Use the high quality random number routines. */
-#if defined(BSD) || defined(ULTRIX) || defined(CYGWIN32) || defined(RANDOM)
+#if defined(BSD) || defined(ULTRIX) || defined(CYGWIN32) || defined(RANDOM) || defined(__APPLE__)
 #define Rand() random()
 #else
 #define Rand() lrand48()