summaryrefslogtreecommitdiff
path: root/include/wsockcompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wsockcompat.h')
-rw-r--r--include/wsockcompat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wsockcompat.h b/include/wsockcompat.h
index c762a64..e6a1a99 100644
--- a/include/wsockcompat.h
+++ b/include/wsockcompat.h
@@ -41,7 +41,7 @@
#define EWOULDBLOCK WSAEWOULDBLOCK
#define ESHUTDOWN WSAESHUTDOWN
-#ifndef _MSC_VER
+#if (!defined(_MSC_VER) || (_MSC_VER < 1600))
#define EINPROGRESS WSAEINPROGRESS
#define EALREADY WSAEALREADY
#define ENOTSOCK WSAENOTSOCK