From 50fc72257422df9241508d08ceb870f17c1cec4a Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 30 Jan 2006 13:59:16 +0000 Subject: [PATCH] fix TYPE_OF_SOCKLEN_T for Darwin --- trunk/c5/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/c5/config.h b/trunk/c5/config.h index d66d01d3..4517ea88 100644 --- a/trunk/c5/config.h +++ b/trunk/c5/config.h @@ -83,7 +83,7 @@ // Unfortunately there is no way to tell whether or not socklen_t is defined. // To work around this, TYPE_OF_SOCKLEN_T is a macro so that you can change it from the makefile. #ifndef TYPE_OF_SOCKLEN_T -# if defined(_WIN32) || defined(__CYGWIN__) || defined(__MACH__) +# if defined(_WIN32) || defined(__CYGWIN__) # define TYPE_OF_SOCKLEN_T int # else # define TYPE_OF_SOCKLEN_T ::socklen_t