1
0
Fork 0

(svn r4045) -Fix: [OSX] fixed header issue

bjarni 2006-03-22 22:42:14 +00:00
parent c88ceb9a3e
commit 316e189bd7
1 changed files with 4 additions and 1 deletions

View File

@ -11,10 +11,13 @@
#ifdef ENABLE_NETWORK
#if defined(__APPLE__) && (MAC_OS_X_VERSION_MAX_ALLOWED == MAC_OS_X_VERSION_10_2)
#if defined(__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)