diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-04-16 23:14:58 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-04-16 23:14:58 +0200 |
commit | de8336a9bc6daf5dc47c3d711913497fb3a9f15d (patch) | |
tree | b5d1447f2912493bf4570cdae1693ace9edf6196 /Eigen/src/Core/util/Memory.h | |
parent | d5a795f67366db20a132cc70e4f0217f42372357 (diff) |
Enable alloca on MAC OSX
Diffstat (limited to 'Eigen/src/Core/util/Memory.h')
-rw-r--r-- | Eigen/src/Core/util/Memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index a4d7e454d..34b387ded 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -552,7 +552,7 @@ template<typename T> struct smart_memmove_helper<T,false> { // you can overwrite Eigen's default behavior regarding alloca by defining EIGEN_ALLOCA // to the appropriate stack allocation function #ifndef EIGEN_ALLOCA - #if (defined __linux__) + #if (defined __linux__) || (defined __APPLE__) #define EIGEN_ALLOCA alloca #elif defined(_MSC_VER) #define EIGEN_ALLOCA _alloca |