[Spread-cvs] commit: r356 - trunk/daemon
jonathan at spread.org
jonathan at spread.org
Mon Nov 13 16:23:58 EST 2006
Author: jonathan
Date: 2006-11-13 16:23:58 -0500 (Mon, 13 Nov 2006)
New Revision: 356
Modified:
trunk/daemon/defines.h
Log:
Set socklen_t type to be used for sockopt_len_t on any platform that has the first but not the second.
This fixes a warning on Mac OS X 10.4
Modified: trunk/daemon/defines.h
===================================================================
--- trunk/daemon/defines.h 2006-10-06 14:39:35 UTC (rev 355)
+++ trunk/daemon/defines.h 2006-11-13 21:23:58 UTC (rev 356)
@@ -108,7 +108,7 @@
/* (or die trying) */
#ifndef HAVE_SOCKOPT_LEN_T
-# ifdef __linux
+# ifdef HAVE_SOCKLEN_T
typedef socklen_t sockopt_len_t;
# else
typedef int sockopt_len_t;
More information about the Spread-cvs
mailing list