Fix ITASK warnings
authorJens Verwiebe <info@jensverwiebe.de>
Wed, 7 Nov 2012 11:57:51 +0000 (11:57 +0000)
committerJens Verwiebe <info@jensverwiebe.de>
Wed, 7 Nov 2012 11:57:51 +0000 (11:57 +0000)
intern/itasc/kdl/chain.hpp
intern/itasc/kdl/tree.hpp

index bc9061e232f310375d820f22e8a05a81d7abe2b6..24e40858bff7b23c64046a1ccec39458aae9a31e 100644 (file)
@@ -35,7 +35,7 @@ namespace KDL {
      */
     class Chain {
     private:
-#if !defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4
+#if !defined(__APPLE__)
         // Eigen allocator is needed for alignment of Eigen data types
         std::vector<Segment, Eigen::aligned_allocator<Segment> > segments;
 #else
index afa56c820d908f86ba49e24555dc2f8f2b35453e..4da764ac6d62f97fbee8d6564b7c3bba2fc08a21 100644 (file)
@@ -27,7 +27,7 @@
 
 #include <string>
 #include <map>
-#if !defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4
+#if !defined(__APPLE__)
 #include <Eigen/Core>
 #endif
 
@@ -35,7 +35,7 @@ namespace KDL
 {
     //Forward declaration
     class TreeElement;
-#if !defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4
+#if !defined(__APPLE__)
     // Eigen allocator is needed for alignment of Eigen data types
     typedef std::map<std::string,TreeElement, std::less<std::string>, Eigen::aligned_allocator<std::pair<std::string, TreeElement> > > SegmentMap;
 #else