]> sjero.net Git - wget/blobdiff - src/cmpt.c
[svn] Windows fixes by Herold Heiko.
[wget] / src / cmpt.c
index 7a7add09bd607da57a3b908c5c73b3e1d8ea9d59..6fb7fc0413442c82a406ee53f304fdc781b5902b 100644 (file)
@@ -1209,8 +1209,10 @@ strptime (buf, format, tm)
 
 
 #ifndef HAVE_USLEEP
-/* A simple usleep implementation based on select().  This will
-   probably not work on Windows.  */
+#ifndef WINDOWS
+
+/* A simple usleep implementation based on select().  For Unix and
+   Unix-like systems.  */
 
 int
 usleep (unsigned long usec)
@@ -1221,4 +1223,6 @@ usleep (unsigned long usec)
   select (0, NULL, NULL, NULL, &tm);
   return 0;
 }
+
+#endif /* not WINDOWS */
 #endif /* not HAVE_USLEEP */