mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
fix build
This commit is contained in:
parent
1dac2d21a8
commit
184173fccc
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
||||||
#ifdef PHP_WIN32
|
#ifdef PHP_WIN32
|
||||||
#define GENERATE_SEED() (((long) (time(0) * GetCurrentProcessId())) ^ ((long) (1000000.0 * php_combined_lcg(TSRMLS_C))))
|
#define GENERATE_SEED() (((long) (time(0) * GetCurrentProcessId())) ^ ((long) (1000000.0 * php_combined_lcg(TSRMLS_C))))
|
||||||
#else
|
#else
|
||||||
#define GENERATE_SEED() (((long) (time(0) * getpid())) ^ ((long) (1000000.0 * php_combined_lcg(TSRMLS_C)))))
|
#define GENERATE_SEED() (((long) (time(0) * getpid())) ^ ((long) (1000000.0 * php_combined_lcg(TSRMLS_C))))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
PHPAPI void php_srand(long seed TSRMLS_DC);
|
PHPAPI void php_srand(long seed TSRMLS_DC);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue