From: Gunter Knauf Date: Tue, 9 Oct 2007 22:10:17 +0000 (+0000) Subject: fix socklen_t for MSVC6 & 7. X-Git-Tag: curl-7_17_1~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50b3545ada98e078b93fb2d0c8a39daa450eb9e4;p=curl fix socklen_t for MSVC6 & 7. --- diff --git a/lib/config-win32.h b/lib/config-win32.h index bd66b56c9..0bc736431 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -291,7 +291,7 @@ #endif /* Define to 'int' if socklen_t is not an available 'typedefed' type */ -#ifndef HAVE_WS2TCPIP_H +#if defined(_MSC_VER) && (_MSC_VER <= 1400) #define socklen_t int #endif