summaryrefslogtreecommitdiff
path: root/ext/standard/uniqid.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-02-10 21:53:56 +0000
committerAndi Gutmans <andi@php.net>2000-02-10 21:53:56 +0000
commit29280bb9ecbc459c0005a48001f5dd1a62963cd6 (patch)
treec9cc25e5e1a10ec30c8ab4b7637d2af05e108eb9 /ext/standard/uniqid.c
parent732eeeabd9032537ddef3a6c8ef83064501c463f (diff)
downloadphp-git-29280bb9ecbc459c0005a48001f5dd1a62963cd6.tar.gz
- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
Diffstat (limited to 'ext/standard/uniqid.c')
-rw-r--r--ext/standard/uniqid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/uniqid.c b/ext/standard/uniqid.c
index 348ade34fe..9e4200ab74 100644
--- a/ext/standard/uniqid.c
+++ b/ext/standard/uniqid.c
@@ -29,7 +29,7 @@
#include <errno.h>
#include <stdio.h>
-#if MSVC5
+#if PHP_WIN32
#include "win32/time.h"
#else
#include <sys/time.h>
@@ -64,7 +64,7 @@ PHP_FUNCTION(uniqid)
php_error(E_WARNING, "The prefix to uniqid should not be more than 114 characters.");
return;
}
-#if HAVE_USLEEP && !(WIN32|WINNT)
+#if HAVE_USLEEP && !(PHP_WIN32)
if (!MORE_ENTROPY) {
usleep(1);
}