build bits - mostly for Windows
Allow sys/share/random.c to be included in the build always, even if USE_ISAAC64 is defined, by making most of its contents conditional in that case. That avoids Makefile tinkering when going back and forth between USE_ISAAC64 and not during testing.
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
|
||||
#include "hack.h"
|
||||
|
||||
#if defined(USE_ISAAC64) && !defined(RANDOM)
|
||||
#else
|
||||
#ifdef LIBC_SCCS
|
||||
#ifndef lint
|
||||
static char sccsid[] = "@(#)random.c 5.5 (Berkeley) 7/6/88";
|
||||
@@ -377,3 +379,7 @@ random()
|
||||
}
|
||||
return (i);
|
||||
}
|
||||
#endif /* else defined(USE_ISAAC64) && !defined(RANDOM) */
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user