diff options
Diffstat (limited to 'ext/standard/php_mt_rand.h')
-rw-r--r-- | ext/standard/php_mt_rand.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/standard/php_mt_rand.h b/ext/standard/php_mt_rand.h index 84ef1915c6..9d926b5538 100644 --- a/ext/standard/php_mt_rand.h +++ b/ext/standard/php_mt_rand.h @@ -27,8 +27,13 @@ #define PHP_MT_RAND_MAX ((zend_long) (0x7FFFFFFF)) /* (1<<31) - 1 */ +#define MT_RAND_MT19937 0 +#define MT_RAND_PHP 1 + PHPAPI void php_mt_srand(uint32_t seed); PHPAPI uint32_t php_mt_rand(void); +PHP_MINIT_FUNCTION(mt_rand); + #endif /* PHP_MT_RAND_H */ |