diff options
Diffstat (limited to 'ext')
| -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 |
