projects
/
IOMultiplexer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[IOMultiplexerV2] fixed compiling issue with newer MinGW builds...
[IOMultiplexer.git]
/
src
/
IOHandler
/
IOEngine_select.c
diff --git
a/src/IOHandler/IOEngine_select.c
b/src/IOHandler/IOEngine_select.c
index b725572067b32c213e5cd62894b1021a43710ec3..3c62c4c96e3dced7c8eda56c0bcc64c90a424cad 100644
(file)
--- a/
src/IOHandler/IOEngine_select.c
+++ b/
src/IOHandler/IOEngine_select.c
@@
-26,9
+26,12
@@
#include <string.h>
#include <stdio.h>
#ifdef WIN32
#include <string.h>
#include <stdio.h>
#ifdef WIN32
+#ifdef _WIN32_WINNT
+#undef _WIN32_WINNT
+#endif
#define _WIN32_WINNT 0x501
#define _WIN32_WINNT 0x501
-#include <windows.h>
#include <winsock2.h>
#include <winsock2.h>
+#include <windows.h>
#elif defined HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
#elif defined HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif