diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-11-04 21:58:52 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-11-04 21:58:52 +0100 |
commit | ee06f786797b74e75e6c2eae1209fa6389c49876 (patch) | |
tree | 6bbd10e84a32664cc7a99484b242df393b02f7f4 /Eigen/src/StlSupport/details.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/StlSupport/details.h')
-rw-r--r-- | Eigen/src/StlSupport/details.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/StlSupport/details.h b/Eigen/src/StlSupport/details.h index d8debc7c4..e42ec024f 100644 --- a/Eigen/src/StlSupport/details.h +++ b/Eigen/src/StlSupport/details.h @@ -46,7 +46,7 @@ namespace Eigen { ~aligned_allocator_indirection() {} }; -#ifdef _MSC_VER +#if EIGEN_COMP_MSVC // sometimes, MSVC detects, at compile time, that the argument x // in std::vector::resize(size_t s,T x) won't be aligned and generate an error |