Proper check and dropin replacement for usleep().
[tinc] / lib / dropin.h
index d5cf6d2..a4d9248 100644 (file)
@@ -41,7 +41,7 @@ extern int vasprintf(char **, const char *, va_list ap);
 extern int gettimeofday(struct timeval *, void *);
 #endif
 
-#ifdef HAVE_MINGW
+#ifndef HAVE_USLEEP
 extern int usleep(long);
 #endif