From Bob Kuehne, fixes for OSX 10.4 build.
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
// The constructors of isockinet, osockinet and iosockinet are changed.
|
||||
|
||||
#include "sockinet.h"
|
||||
#if defined(__APPLE__)
|
||||
#if defined( __APPLE__ ) && ( __GNUC__ < 4 )
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#if defined(__APPLE__) || defined(WIN32) || defined (__sgi) || defined (__hpux)
|
||||
#if (defined(__APPLE__)&&(__GNUC__<4)) || defined(WIN32) || defined (__sgi) || defined (__hpux)
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user