cvs: php4(PHP_4_3) /ext/standard uniqid.c
| From: | Marcus Boerger | Date: | Fri, 20 Dec 2002 17:03:39 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard uniqid.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17302@lists.php.net to get a copy of this message | ||
helly Fri Dec 20 12:03:39 2002 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/standard uniqid.c
Log:
Avoid compiler warnings
Index: php4/ext/standard/uniqid.c
diff -u php4/ext/standard/uniqid.c:1.31.8.2 php4/ext/standard/uniqid.c:1.31.8.3
--- php4/ext/standard/uniqid.c:1.31.8.2 Fri Dec 20 11:37:44 2002
+++ php4/ext/standard/uniqid.c Fri Dec 20 12:03:37 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: uniqid.c,v 1.31.8.2 2002/12/20 16:37:44 helly Exp $ */
+/* $Id: uniqid.c,v 1.31.8.3 2002/12/20 17:03:37 helly Exp $ */
#include "php.h"
@@ -69,8 +69,9 @@
#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);