cvs: /php4/ext/standard lcg.c
| From: | Andi Gutmans | Date: | Wed, 22 Sep 1999 05:26:22 +0000 |
| Subject: | cvs: /php4/ext/standard lcg.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4789@lists.php.net to get a copy of this message | ||
andi Wed Sep 22 01:26:22 1999 EDT
Modified files:
/php4/ext/standard lcg.c
Log:
- Get rid of warning on win32, non-threadsafe mode.
Index: php4/ext/standard/lcg.c
diff -u php4/ext/standard/lcg.c:1.1 php4/ext/standard/lcg.c:1.2
--- php4/ext/standard/lcg.c:1.1 Sun Aug 29 16:11:54 1999
+++ php4/ext/standard/lcg.c Wed Sep 22 01:26:22 1999
@@ -29,6 +29,10 @@
static php_lcg_globals lcg_globals;
#endif
+#if WIN32||WINNT
+#include <process.h>
+#endif
+
/*
* combinedLCG() returns a pseudo random number in the range of (0,1).
* The function combines two CGs with periods of