cvs: php-src(PHP_5_2) /ext/standard php_rand.h

From: Date: Fri, 07 Mar 2008 08:56:45 +0000
Subject: cvs: php-src(PHP_5_2) /ext/standard php_rand.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-48925@lists.php.net to get a copy of this message
tony2001 Fri Mar 7 08:56:45 2008 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/standard php_rand.h Log: fix build http://cvs.php.net/viewvc.cgi/php-src/ext/standard/php_rand.h?r1=1.28.2.1.2.3&r2=1.28.2.1.2.4&diff_format=u Index: php-src/ext/standard/php_rand.h diff -u php-src/ext/standard/php_rand.h:1.28.2.1.2.3 php-src/ext/standard/php_rand.h:1.28.2.1.2.4 --- php-src/ext/standard/php_rand.h:1.28.2.1.2.3 Fri Mar 7 03:34:47 2008 +++ php-src/ext/standard/php_rand.h Fri Mar 7 08:56:45 2008 @@ -20,7 +20,7 @@ | Based on code from: Shawn Cokus <Cokus@math.washington.edu> | +----------------------------------------------------------------------+ */ -/* $Id: php_rand.h,v 1.28.2.1.2.3 2008/03/07 03:34:47 stas Exp $ */ +/* $Id: php_rand.h,v 1.28.2.1.2.4 2008/03/07 08:56:45 tony2001 Exp $ */ #ifndef PHP_RAND_H #define PHP_RAND_H @@ -49,7 +49,7 @@ #ifdef PHP_WIN32 #define GENERATE_SEED() (((long) (time(0) * GetCurrentProcessId())) ^ ((long) (1000000.0 * php_combined_lcg(TSRMLS_C)))) #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 PHPAPI void php_srand(long seed TSRMLS_DC);

« previous php.cvs (#48925) next »