aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-18 08:56:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-18 08:56:20 +0000
commitaff9a817b4b970c06b810c88383efce4400d1e0b (patch)
treed6d5dcae629f4aa29995a9e1cabc0e88e14a2323 /lib/config-win32.h
parentf4e987cd19c3869cb66fc161dd3222ee2a25e16d (diff)
David Byron's fix to make libcurl build fine with both .NET and VC6 version
of MSVC
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 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