summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-12-20 17:04:33 +0000
committerMarcus Boerger <helly@php.net>2002-12-20 17:04:33 +0000
commit8652e8ac27d72e487f502ed193d990098f566ccd (patch)
treef4b43d474b0e3ead566bff55565b11bca8c69625
parentc45f76112f294afe8898efd300132b2294bdd322 (diff)
downloadphp-git-8652e8ac27d72e487f502ed193d990098f566ccd.tar.gz
MFB
-rw-r--r--ext/standard/uniqid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/uniqid.c b/ext/standard/uniqid.c
index 7ab0ece36e..05baff3cde 100644
--- a/ext/standard/uniqid.c
+++ b/ext/standard/uniqid.c
@@ -69,8 +69,9 @@ PHP_FUNCTION(uniqid)
#if defined(__CYGWIN__)
php_error_docref(NULL TSRMLS_CC, E_ERROR, "You must use 'more entropy' under CYGWIN.");
return;
-#endif
+#else
usleep(1);
+#endif
}
#endif
gettimeofday((struct timeval *) &tv, (struct timezone *) NULL);