summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-12-20 17:03:37 +0000
committerMarcus Boerger <helly@php.net>2002-12-20 17:03:37 +0000
commitb27ae49ada09ad61761be0b45e2e5f331c48eb57 (patch)
tree676930f19f624fcedaea4cf0d7bc3479aacc66c7
parent7c9dd72b76a8c2814d82ce046f173e130f3d113e (diff)
downloadphp-git-b27ae49ada09ad61761be0b45e2e5f331c48eb57.tar.gz
Avoid compiler warnings
-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);