diff --git a/include/osg/Math b/include/osg/Math index 2bd0d08ba..7f10e864d 100644 --- a/include/osg/Math +++ b/include/osg/Math @@ -37,6 +37,11 @@ #if (__GNUC__ < 4) #define APPLE_PRE_10_2 #endif + + #if (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6) + #define APPLE_PRE_10_6 + #endif + #endif #endif @@ -45,7 +50,7 @@ #endif #if defined (sun) || \ - defined (__APPLE__) || \ + defined (APPLE_PRE_10_6) || \ (defined (_AIX) && defined (__GNUC__)) #include