From: Daniel Stenberg Date: Thu, 18 Dec 2003 08:56:20 +0000 (+0000) Subject: David Byron's fix to make libcurl build fine with both .NET and VC6 version X-Git-Tag: curl-7_11_0~118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aff9a817b4b970c06b810c88383efce4400d1e0b;p=curl David Byron's fix to make libcurl build fine with both .NET and VC6 version of MSVC --- 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