changeset 3294 | be3b1e6b4b74 |
parent 2741 | 011462ebb67b |
child 4033 | f108c895d7b6 |
--- a/network_core.h Wed Mar 22 10:13:15 2006 +0000 +++ b/network_core.h Wed Mar 22 13:06:50 2006 +0000 @@ -11,13 +11,10 @@ #ifdef ENABLE_NETWORK -#ifdef __APPLE__ -#include <AvailabilityMacros.h> -#if (MAC_OS_X_VERSION_MAX_ALLOWED == MAC_OS_X_VERSION_10_2) +#if defined(__APPLE__) && (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)