forked from bartvdbraak/blender
OSX: buildfix for itask on 10.5.sdk
This commit is contained in:
parent
8db117a81a
commit
bff59a5b2e
@ -35,8 +35,12 @@ namespace KDL {
|
|||||||
*/
|
*/
|
||||||
class Chain {
|
class Chain {
|
||||||
private:
|
private:
|
||||||
|
#if !defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_5)
|
||||||
// Eigen allocator is needed for alignment of Eigen data types
|
// Eigen allocator is needed for alignment of Eigen data types
|
||||||
std::vector<Segment, Eigen::aligned_allocator<Segment> > segments;
|
std::vector<Segment, Eigen::aligned_allocator<Segment> > segments;
|
||||||
|
#else
|
||||||
|
std::vector<Segment> segments;
|
||||||
|
#endif
|
||||||
unsigned int nrOfJoints;
|
unsigned int nrOfJoints;
|
||||||
unsigned int nrOfSegments;
|
unsigned int nrOfSegments;
|
||||||
public:
|
public:
|
||||||
|
@ -27,15 +27,20 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
#if !defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_5)
|
||||||
#include <Eigen/Core>
|
#include <Eigen/Core>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace KDL
|
namespace KDL
|
||||||
{
|
{
|
||||||
//Forward declaration
|
//Forward declaration
|
||||||
class TreeElement;
|
class TreeElement;
|
||||||
|
#if !defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_5)
|
||||||
// Eigen allocator is needed for alignment of Eigen data types
|
// 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;
|
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
|
class TreeElement
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user