Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/itasc/kdl/tree.hpp')
-rw-r--r--intern/itasc/kdl/tree.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/intern/itasc/kdl/tree.hpp b/intern/itasc/kdl/tree.hpp
index 6b822dcd1e0..4dfb55c7823 100644
--- a/intern/itasc/kdl/tree.hpp
+++ b/intern/itasc/kdl/tree.hpp
@@ -27,15 +27,20 @@
#include <string>
#include <map>
+#if !defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_5)
#include <Eigen/Core>
+#endif
namespace KDL
{
//Forward declaration
class TreeElement;
+#if !defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_5)
// 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
+ typedef std::map<std::string,TreeElement> SegmentMap;
+#endif
class TreeElement
{
private: