]> granicus.if.org Git - curl/commitdiff
fix socklen_t for MSVC6 & 7.
authorGunter Knauf <gk@gknw.de>
Tue, 9 Oct 2007 22:10:17 +0000 (22:10 +0000)
committerGunter Knauf <gk@gknw.de>
Tue, 9 Oct 2007 22:10:17 +0000 (22:10 +0000)
lib/config-win32.h

index bd66b56c9dca1150db0741a01ffc066dbe4ae789..0bc736431fcc72ab3c9fb90027fd500cbb63ae79 100644 (file)
 #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