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
/
IOSockets.c
diff --git
a/src/IOHandler/IOSockets.c
b/src/IOHandler/IOSockets.c
index a361126b5540dd10a69160587c9fcfca49bc597c..0f4dfb4fb52bcd15e5b214719236bc937a3c9d00 100644
(file)
--- a/
src/IOHandler/IOSockets.c
+++ b/
src/IOHandler/IOSockets.c
@@
-23,9
+23,12
@@
#include "IOSSLBackend.h"
#ifdef WIN32
+#ifdef _WIN32_WINNT
+#undef _WIN32_WINNT
+#endif
#define _WIN32_WINNT 0x501
-#include <windows.h>
#include <winsock2.h>
+#include <windows.h>
#include <ws2tcpip.h>
#else
#include <sys/socket.h>