diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-02-08 08:54:01 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-02-08 08:54:01 +0000 |
commit | 320e99d8dda5eb5fc327fcbe20126cdd7fcd059d (patch) | |
tree | b1fc6d8062eebd46c7b8f4fd67f606c9af8f93c2 /random.c | |
parent | 25be6ce9b5dd2aabad61410068d688250c562189 (diff) | |
download | ruby-320e99d8dda5eb5fc327fcbe20126cdd7fcd059d.tar.gz |
2000-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -77,7 +77,7 @@ void srand48 _((long)); #endif /* not HAVE_DRAND48 */ static int first = 1; -#if !defined HAVE_DRAND48 && defined HAVE_RANDOM +#ifdef HAVE_RANDOM static char state[256]; #endif @@ -88,7 +88,7 @@ rand_init(seed) int old; static unsigned int saved_seed; -#if !defined HAVE_DRAND48 && defined HAVE_RANDOM +#ifdef HAVE_RANDOM if (first == 1) { initstate(1, state, sizeof state); } |