diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-08-20 16:40:22 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-08-20 16:40:22 +0000 |
commit | ece0a731e9d66f7ea9871df771074a2b3eba76e3 (patch) | |
tree | f40937e17cc335ce8158eebb2c420fd163ba9c55 /ext/standard/php_rand.h | |
parent | d70f744a6343f9cd48658bfa193ead420db024fe (diff) | |
download | php-git-ece0a731e9d66f7ea9871df771074a2b3eba76e3.tar.gz |
Fixed bug #25170 (Problem with generation of random numbers 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 21bedfb365..0d5927b2cd 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 && !defined(__sun) +#if defined(HAVE_LRAND48) || defined(HAVE_RANDOM) #define PHP_RAND_MAX 2147483647 #else #define PHP_RAND_MAX RAND_MAX |