aboutsummaryrefslogtreecommitdiffstats
path: root/pc/socket.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-09-26 05:22:32 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-09-26 05:22:32 +0300
commit34196cfaf0cfe8a591dd766e02a0fe89b6d31413 (patch)
tree691c30f198ceb11c64bb53daeb938ce99e4b2b4c /pc/socket.h
parentf1f7dea6875d0b9cd3f68c115bec3dfa0e6a541e (diff)
parent196eeabf82e8f4653872afa2f49fa124295f15d5 (diff)
downloadegawk-34196cfaf0cfe8a591dd766e02a0fe89b6d31413.tar.gz
egawk-34196cfaf0cfe8a591dd766e02a0fe89b6d31413.tar.bz2
egawk-34196cfaf0cfe8a591dd766e02a0fe89b6d31413.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'pc/socket.h')
-rw-r--r--pc/socket.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pc/socket.h b/pc/socket.h
index 41dd23cf..d7b890dd 100644
--- a/pc/socket.h
+++ b/pc/socket.h
@@ -7,7 +7,10 @@
#include <io.h>
-#define _WIN32_WINNT 0x501
+#if !defined _WIN32_WINNT || _WIN32_WINNT < 0x501
+# undef _WIN32_WINNT
+# define _WIN32_WINNT 0x501
+#endif
#include <winsock2.h>
#include <ws2tcpip.h>