+/* Emulation of Unix usleep(). This has a granularity of
+ milliseconds, but that's ok because:
+
+ a) Wget is only using it with milliseconds;
+
+ b) You can't rely on usleep's granularity anyway. If a caller
+ expects usleep to respect every microsecond, he's in for a
+ surprise. */
+
+int
+usleep (unsigned long usec)
+{
+ SleepEx (usec / 1000, TRUE);
+ return 0;
+}
+