MacOSX: no lrand48()
No lrand48() on MacOSX, since MacOSX is really BSD.
This commit is contained in:
@@ -297,7 +297,7 @@
|
||||
#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()
|
||||
|
||||
Reference in New Issue
Block a user