aboutsummaryrefslogtreecommitdiffstats
path: root/pc/socket.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-09-26 05:23:00 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-09-26 05:23:00 +0300
commit9a1d173658bcaf0987c4b4892d3872e324d94772 (patch)
tree12d1e453ba38a460d45971aaf246842d6524094e /pc/socket.h
parentd64da79c830daee5b0c9e125320f240a22aa4110 (diff)
parent196eeabf82e8f4653872afa2f49fa124295f15d5 (diff)
downloadegawk-9a1d173658bcaf0987c4b4892d3872e324d94772.tar.gz
egawk-9a1d173658bcaf0987c4b4892d3872e324d94772.tar.bz2
egawk-9a1d173658bcaf0987c4b4892d3872e324d94772.zip
Merge branch 'master' into feature/nocopy
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>