Commit aff9a817 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

David Byron's fix to make libcurl build fine with both .NET and VC6 version

of MSVC
parent f4e987cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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