aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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 c24e8b7b6..6d60735a7 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -27,7 +27,7 @@
#define ssize_t int
/* Define this to 'int' if socklen_t is not an available typedefed type */
-#if !defined(ENABLE_IPV6) && !defined(USE_SSLEAY)
+#if !defined(ENABLE_IPV6) && ((_MSC_VER < 1300) || !defined(USE_SSLEAY))
#define socklen_t int
#endif