projects
/
fw
/
stlink
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
593fa0c
)
mingw compilation error (sleep) fixed
author
bob
<bob@eleks.com>
Thu, 19 Nov 2015 08:53:21 +0000
(10:53 +0200)
committer
bob
<bob@eleks.com>
Thu, 19 Nov 2015 08:53:21 +0000
(10:53 +0200)
mingw/mingw.h
patch
|
blob
|
history
diff --git
a/mingw/mingw.h
b/mingw/mingw.h
index 1fcf93da20ff8183a603a9e137eda2abab667a24..cb333016cac192c970cef877135877207a4cb698 100644
(file)
--- 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