--- config-win32.h.1.6	2003-12-04 08:30:20.000000000 -0800
+++ config-win32.h	2003-12-17 14:21:12.100801600 -0800
@@ -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
 

