diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-01-27 01:18:42 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-01-27 01:18:42 +0100 |
commit | 51e8168af83f379e8f3855e7f3230fe39d839e07 (patch) | |
tree | c5b994827a4226aad4679adc1fca7de376e0dab2 /tune/speed.c | |
parent | d4e59c1ccb419723428deade083000fd20a50666 (diff) | |
download | gmp-51e8168af83f379e8f3855e7f3230fe39d839e07.tar.gz |
* configure.in (AC_CHECK_FUNCS): Add srand48.
* tune/speed.c: Use this test.
Diffstat (limited to 'tune/speed.c')
-rw-r--r-- | tune/speed.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tune/speed.c b/tune/speed.c index 766cb6cb8..50f739a2c 100644 --- a/tune/speed.c +++ b/tune/speed.c @@ -1022,7 +1022,9 @@ main (int argc, char *argv[]) } srand (option_seed); +#if HAVE_SRAND48 srand48 (option_seed); +#endif #if HAVE_SRANDOM srandom (option_seed); #endif |