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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php