Skip to content

Commit

Permalink
Merge pull request #349 from ibobalo/master
Browse files Browse the repository at this point in the history
mingw compilation error (sleep) fixed
  • Loading branch information
texane committed Nov 19, 2015
2 parents 593fa0c + deb2089 commit 58985cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mingw/mingw.h
Expand Up @@ -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

0 comments on commit 58985cb

Please sign in to comment.