From f98c2c936ca3637c634f0adef605602fe07d0b55 Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Sat, 15 Dec 2012 11:15:05 +0000 Subject: OSX/availability: use of the numerical value instead of the symbol in the #if MAC_OS_X_VERSION_MIN_REQUIRED comparison clause: If the code is loaded on an older system that does not include the symbol definition, the comparison still works --- intern/itasc/kdl/tree.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/itasc/kdl/tree.hpp') diff --git a/intern/itasc/kdl/tree.hpp b/intern/itasc/kdl/tree.hpp index a020c6cf2cf..82794f96b94 100644 --- a/intern/itasc/kdl/tree.hpp +++ b/intern/itasc/kdl/tree.hpp @@ -28,7 +28,7 @@ #include #include #if defined(__APPLE__) -# if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5 +# if MAC_OS_X_VERSION_MIN_REQUIRED <= 1050 //no include # else # include @@ -42,7 +42,7 @@ namespace KDL //Forward declaration class TreeElement; #if defined(__APPLE__) -# if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5 +# if MAC_OS_X_VERSION_MIN_REQUIRED <= 1050 typedef std::map SegmentMap; # else // Eigen allocator is needed for alignment of Eigen data types -- cgit v1.2.3