cvs: php-src /ext/standard php_rand.h

From: Date: Fri, 07 Mar 2008 08:51:06 +0000
Subject: cvs: php-src /ext/standard php_rand.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-48923@lists.php.net to get a copy of this message
gwynne Fri Mar 7 08:51:06 2008 UTC Modified files: /php-src/ext/standard php_rand.h Log: Fix build (one too many right parenthesis in last commit for non-Windows builds) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/php_rand.h?r1=1.32&r2=1.33&diff_format=u Index: php-src/ext/standard/php_rand.h diff -u php-src/ext/standard/php_rand.h:1.32 php-src/ext/standard/php_rand.h:1.33 --- php-src/ext/standard/php_rand.h:1.32 Fri Mar 7 03:39:29 2008 +++ php-src/ext/standard/php_rand.h Fri Mar 7 08:51:05 2008 @@ -20,7 +20,7 @@ | Based on code from: Shawn Cokus <Cokus@math.washington.edu> | +----------------------------------------------------------------------+ */ -/* $Id: php_rand.h,v 1.32 2008/03/07 03:39:29 stas Exp $ */ +/* $Id: php_rand.h,v 1.33 2008/03/07 08:51:05 gwynne 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 (#48923) next »