aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/StlSupport/details.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/StlSupport/details.h')
-rw-r--r--Eigen/src/StlSupport/details.h2
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