summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-27 04:30:20 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-27 04:30:20 +0000
commita08335cc90e1e6d559b0ead207c42babe424ec57 (patch)
treeabcd69737200c0b681567ceda0d6263882c10cbe /random.c
parenta01e4cbdb10e7295c70d5070e5c96355f18d26c1 (diff)
* io.c (READ_DATA_PENDING): uClibc support.
* random.c (rand_init): ditto. * ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/random.c b/random.c
index 5ac7868bf1..115eb01205 100644
--- a/random.c
+++ b/random.c
@@ -88,7 +88,7 @@ rand_init(seed)
int old;
static unsigned int saved_seed;
-#ifdef HAVE_RANDOM
+#if defined HAVE_RANDOM && !defined __UCLIBC__
if (first == 1) {
initstate(1, state, sizeof state);
}