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/chain.hpp')
-rw-r--r--intern/itasc/kdl/chain.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/itasc/kdl/chain.hpp b/intern/itasc/kdl/chain.hpp
index 81c606b73c0..773f472cc5c 100644
--- a/intern/itasc/kdl/chain.hpp
+++ b/intern/itasc/kdl/chain.hpp
@@ -35,8 +35,12 @@ namespace KDL {
*/
class Chain {
private:
+#if !defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_5)
// Eigen allocator is needed for alignment of Eigen data types
std::vector<Segment, Eigen::aligned_allocator<Segment> > segments;
+#else
+ std::vector<Segment> segments;
+#endif
unsigned int nrOfJoints;
unsigned int nrOfSegments;
public: