aboutsummaryrefslogtreecommitdiffstats
path: root/pc/socket.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-09-26 05:23:06 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-09-26 05:23:06 +0300
commitc21fb43348d3315b60082f7f1b740db51be90258 (patch)
treef1a201c23aff747f9d73792b9558c189fcb7e7e7 /pc/socket.h
parent3dc29b1fbb332fd0a0571ed803401f4ca069e9b3 (diff)
parent196eeabf82e8f4653872afa2f49fa124295f15d5 (diff)
downloadegawk-c21fb43348d3315b60082f7f1b740db51be90258.tar.gz
egawk-c21fb43348d3315b60082f7f1b740db51be90258.tar.bz2
egawk-c21fb43348d3315b60082f7f1b740db51be90258.zip
Merge branch 'master' into feature/typed-regex
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>