From 08c5e2a194876be4db31536ac0211695c12aa266 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 24 Oct 2007 14:39:07 +0000 Subject: Windows build targets have socklen_t definition in ws2tcpip.h but some versions of ws2tcpip.h do not have the definition. It seems that when the socklen_t definition is missing from ws2tcpip.h the definition for INET_ADDRSTRLEN is also missing, and that when one definition is present the other one also is available. --- src/config-win32.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/config-win32.h') diff --git a/src/config-win32.h b/src/config-win32.h index 388497078..f3fb6201c 100644 --- a/src/config-win32.h +++ b/src/config-win32.h @@ -149,11 +149,6 @@ #define ssize_t int #endif -/* Define to 'int' if socklen_t is not an available 'typedefed' type */ -#ifndef HAVE_WS2TCPIP_H -#define socklen_t int -#endif - /* ---------------------------------------------------------------- */ /* STRUCT RELATED */ /* ---------------------------------------------------------------- */ -- cgit v1.2.3