From: Marcus Boerger Date: Fri, 20 Dec 2002 17:03:37 +0000 (+0000) Subject: Avoid compiler warnings X-Git-Tag: php-4.3.0RC4~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b27ae49ada09ad61761be0b45e2e5f331c48eb57;p=php Avoid compiler warnings --- 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);