win32 doesn't like random

This commit is contained in:
Bill Currie 2003-01-31 04:40:40 +00:00
parent cd553342e6
commit fdb74e1aba

View file

@ -772,7 +772,7 @@ GIB_Random_f (void)
if (GIB_Argc() != 1)
GIB_USAGE ("");
else if ((ret = GIB_Return (0)))
dsprintf (ret, "%.10g", (double) random()/(double) RAND_MAX);
dsprintf (ret, "%.10g", (double) rand ()/(double) RAND_MAX);
}
void