mingw compilation error (sleep) fixed
authorbob <bob@eleks.com>
Thu, 19 Nov 2015 08:53:21 +0000 (10:53 +0200)
committerbob <bob@eleks.com>
Thu, 19 Nov 2015 08:53:21 +0000 (10:53 +0200)
mingw/mingw.h

index 1fcf93da20ff8183a603a9e137eda2abab667a24..cb333016cac192c970cef877135877207a4cb698 100644 (file)
@@ -65,5 +65,6 @@ char *win32_strsep(char **stringp, const char *delim);
 ssize_t win32_read_socket(SOCKET fd, void *buf, int n);
 ssize_t win32_write_socket(SOCKET fd, void *buf, int n);
 
+static inline void sleep(unsigned ms) { Sleep(ms); }
 
 #endif