X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=mingw%2Fmingw.h;h=cb333016cac192c970cef877135877207a4cb698;hb=deb2089e24236b24f4b2b53203210b03fcf878d1;hp=1fcf93da20ff8183a603a9e137eda2abab667a24;hpb=593fa0c117727700ac5d9ce7033c4a9e5a366fc0;p=fw%2Fstlink diff --git a/mingw/mingw.h b/mingw/mingw.h index 1fcf93d..cb33301 100644 --- a/mingw/mingw.h +++ b/mingw/mingw.h @@ -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