From b27ae49ada09ad61761be0b45e2e5f331c48eb57 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 20 Dec 2002 17:03:37 +0000 Subject: Avoid compiler warnings --- ext/standard/uniqid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.1