diff options
author | 2014-11-04 21:58:52 +0100 | |
---|---|---|
committer | 2014-11-04 21:58:52 +0100 | |
commit | ee06f786797b74e75e6c2eae1209fa6389c49876 (patch) | |
tree | 6bbd10e84a32664cc7a99484b242df393b02f7f4 /Eigen/src/SparseCore/SparseMatrix.h | |
parent | c5a3777666f5876ced7274297c797dac555f53e0 (diff) |
Introduce unified macros to identify compiler, OS, and architecture. They are all defined in util/Macros.h and prefixed with EIGEN_COMP_, EIGEN_OS_, and EIGEN_ARCH_ respectively.
Diffstat (limited to 'Eigen/src/SparseCore/SparseMatrix.h')
-rw-r--r-- | Eigen/src/SparseCore/SparseMatrix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/SparseCore/SparseMatrix.h b/Eigen/src/SparseCore/SparseMatrix.h index 7ccdd12a5..32262d00a 100644 --- a/Eigen/src/SparseCore/SparseMatrix.h +++ b/Eigen/src/SparseCore/SparseMatrix.h @@ -274,7 +274,7 @@ class SparseMatrix } template<class SizesType> inline void reserve(const SizesType& reserveSizes, const typename SizesType::Scalar& enableif = - #if (!defined(_MSC_VER)) || (_MSC_VER>=1500) // MSVC 2005 fails to compile with this typename + #if (!EIGEN_COMP_MSVC) || (EIGEN_COMP_MSVC>=1500) // MSVC 2005 fails to compile with this typename typename #endif SizesType::Scalar()) |