summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-04 15:25:57 +0000
committerYang Tse <yangsita@gmail.com>2009-05-04 15:25:57 +0000
commit68458a15bb227add09cdcb720eb970dfcd4091d0 (patch)
tree3b04dede182bb4a6a8c47ace0a90f193fffe5214
parent64fef21f5d08eeb73316d8e411b78f5e213ae180 (diff)
downloadc-ares-68458a15bb227add09cdcb720eb970dfcd4091d0.tar.gz
c-ares-68458a15bb227add09cdcb720eb970dfcd4091d0.tar.bz2
c-ares-68458a15bb227add09cdcb720eb970dfcd4091d0.zip
fIX *__SOCKLEN_T definitions for several Windows target tool-chains
-rw-r--r--ares_build.h.dist16
1 files changed, 8 insertions, 8 deletions
diff --git a/ares_build.h.dist b/ares_build.h.dist
index 6505aec..9f32c8f 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