commit: r356 - trunk/daemon

[email protected]
Newsgroups gmane.network.spread.cvs
Message-ID <[email protected]>
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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.