From 68458a15bb227add09cdcb720eb970dfcd4091d0 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 4 May 2009 15:25:57 +0000 Subject: [PATCH] fIX *__SOCKLEN_T definitions for several Windows target tool-chains --- ares_build.h.dist | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ares_build.h.dist b/ares_build.h.dist index 6505aec3..9f32c8f2 100644 --- a/ares_build.h.dist +++ b/ares_build.h.dist @@ -110,8 +110,8 @@ #elif defined(__SALFORDC__) # define CARES_SIZEOF_LONG 4 -# define CARES_TYPEOF_ARES_SOCKLEN_T FIXME -# define CARES_SIZEOF_ARES_SOCKLEN_T -1 +# define CARES_TYPEOF_ARES_SOCKLEN_T int +# define CARES_SIZEOF_ARES_SOCKLEN_T 4 #elif defined(__BORLANDC__) # define CARES_SIZEOF_LONG 4 @@ -130,8 +130,8 @@ #elif defined(__POCC__) # define CARES_SIZEOF_LONG 4 -# define CARES_TYPEOF_ARES_SOCKLEN_T FIXME -# define CARES_SIZEOF_ARES_SOCKLEN_T -1 +# define CARES_TYPEOF_ARES_SOCKLEN_T int +# define CARES_SIZEOF_ARES_SOCKLEN_T 4 #elif defined(__LCC__) # define CARES_SIZEOF_LONG 4 @@ -150,13 +150,13 @@ #elif defined(_WIN32_WCE) # define CARES_SIZEOF_LONG 4 -# define CARES_TYPEOF_ARES_SOCKLEN_T FIXME -# define CARES_SIZEOF_ARES_SOCKLEN_T -1 +# define CARES_TYPEOF_ARES_SOCKLEN_T int +# define CARES_SIZEOF_ARES_SOCKLEN_T 4 #elif defined(__MINGW32__) # define CARES_SIZEOF_LONG 4 -# define CARES_TYPEOF_ARES_SOCKLEN_T FIXME -# define CARES_SIZEOF_ARES_SOCKLEN_T -1 +# define CARES_TYPEOF_ARES_SOCKLEN_T int +# define CARES_SIZEOF_ARES_SOCKLEN_T 4 #elif defined(__VMS) # define CARES_SIZEOF_LONG 4