diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-08-08 13:34:38 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-08-08 13:34:38 +0000 |
commit | 6f2df2113612fcb492923b31daea6e78510b4a5f (patch) | |
tree | 7047ded8a727799c124ace238ffae40c825d0123 /ext/standard/php_rand.h | |
parent | 5c9b6bf0ca673365eb56199ca8c5b9090c0d15ef (diff) | |
download | php-git-6f2df2113612fcb492923b31daea6e78510b4a5f.tar.gz |
Fixed bug #24909 (Bad random numbers with ZTS builds on Solaris)
Diffstat (limited to 'ext/standard/php_rand.h')
-rw-r--r-- | ext/standard/php_rand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_rand.h b/ext/standard/php_rand.h index cac16790cd..b770386850 100644 --- a/ext/standard/php_rand.h +++ b/ext/standard/php_rand.h @@ -33,7 +33,7 @@ #define RAND_MAX (1<<15) #endif -#if HAVE_LRAND48 +#if HAVE_LRAND48 && !defined(__sun) #define PHP_RAND_MAX 2147483647 #else #define PHP_RAND_MAX RAND_MAX |