diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2012-12-15 15:15:05 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2012-12-15 15:15:05 +0400 |
commit | f98c2c936ca3637c634f0adef605602fe07d0b55 (patch) | |
tree | 20c75e7e49cce03a2520561a721db004033bd177 /intern/itasc/kdl/chain.hpp | |
parent | 11f2348383d3b8cde70506f8b013433b610c5d62 (diff) |
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
Diffstat (limited to 'intern/itasc/kdl/chain.hpp')
-rw-r--r-- | intern/itasc/kdl/chain.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/itasc/kdl/chain.hpp b/intern/itasc/kdl/chain.hpp index fde9d4ed23e..1776737fc7d 100644 --- a/intern/itasc/kdl/chain.hpp +++ b/intern/itasc/kdl/chain.hpp @@ -36,7 +36,7 @@ namespace KDL { class Chain { private: #if defined(__APPLE__) -# if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5 +# if MAC_OS_X_VERSION_MIN_REQUIRED <= 1050 std::vector<Segment> segments; # else // Eigen allocator is needed for alignment of Eigen data types |