From aff9a817b4b970c06b810c88383efce4400d1e0b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 18 Dec 2003 08:56:20 +0000 Subject: David Byron's fix to make libcurl build fine with both .NET and VC6 version of MSVC --- lib/config-win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3