Proper check and dropin replacement for usleep().
[oweals/tinc.git] / lib / dropin.h
index d5cf6d2c104de54cc9c9bf42836209fb69a2f713..a4d924803130321ec1a1ef36e96661f6d276b76c 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