(svn r3286) -Fix: [OSX] 10.2 works again and universal binaries got 10.2 as target by default
This commit is contained in:
@@ -11,6 +11,14 @@
|
||||
|
||||
#ifdef ENABLE_NETWORK
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <AvailabilityMacros.h>
|
||||
#if (MAC_OS_X_VERSION_MAX_ALLOWED == MAC_OS_X_VERSION_10_2)
|
||||
// OSX 10.2 don't have socklen_t defined, so we will define it here
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Windows stuff
|
||||
#if defined(WIN32) || defined(WIN64)
|
||||
#include <winsock2.h>
|
||||
|
Reference in New Issue
Block a user