aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index bd66b56c9..0bc736431 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -291,7 +291,7 @@
#endif
/* Define to 'int' if socklen_t is not an available 'typedefed' type */
-#ifndef HAVE_WS2TCPIP_H
+#if defined(_MSC_VER) && (_MSC_VER <= 1400)
#define socklen_t int
#endif