summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/src/win/winsock.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmlibuv/src/win/winsock.h')
-rw-r--r--Utilities/cmlibuv/src/win/winsock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/cmlibuv/src/win/winsock.h b/Utilities/cmlibuv/src/win/winsock.h
index 7c007ab..3115fe3 100644
--- a/Utilities/cmlibuv/src/win/winsock.h
+++ b/Utilities/cmlibuv/src/win/winsock.h
@@ -146,7 +146,8 @@ typedef struct _AFD_RECV_INFO {
#define IOCTL_AFD_POLL \
_AFD_CONTROL_CODE(AFD_POLL, METHOD_BUFFERED)
-#if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
+#if (defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)) \
+ || (defined(_MSC_VER) && _MSC_VER < 1500)
typedef struct _IP_ADAPTER_UNICAST_ADDRESS_XP {
/* FIXME: __C89_NAMELESS was removed */
/* __C89_NAMELESS */ union {