From 50b3545ada98e078b93fb2d0c8a39daa450eb9e4 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Tue, 9 Oct 2007 22:10:17 +0000 Subject: fix socklen_t for MSVC6 & 7. --- lib/config-win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3