aboutsummaryrefslogtreecommitdiffstats
path: root/pc/socket.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-09-26 05:22:09 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-09-26 05:22:09 +0300
commit196eeabf82e8f4653872afa2f49fa124295f15d5 (patch)
tree3787a11d798c81726a6cd669fbac7ac9fa1f8cbd /pc/socket.h
parent491c127c5c78f0729f3e75bc0d07d49285a2041b (diff)
parent727c2b4c7011c252fd1973358629cccbfecfc25d (diff)
downloadegawk-196eeabf82e8f4653872afa2f49fa124295f15d5.tar.gz
egawk-196eeabf82e8f4653872afa2f49fa124295f15d5.tar.bz2
egawk-196eeabf82e8f4653872afa2f49fa124295f15d5.zip
Merge branch 'gawk-4.1-stable'
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>