aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/StlSupport/StdList.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/StlSupport/StdList.h')
-rw-r--r--Eigen/src/StlSupport/StdList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/StlSupport/StdList.h b/Eigen/src/StlSupport/StdList.h
index 3c742430c..265b46f8e 100644
--- a/Eigen/src/StlSupport/StdList.h
+++ b/Eigen/src/StlSupport/StdList.h
@@ -13,7 +13,7 @@
#include "details.h"
// Define the explicit instantiation (e.g. necessary for the Intel compiler)
-#if defined(__INTEL_COMPILER) || defined(__GNUC__)
+#if EIGEN_COMP_GNUC || EIGEN_COMP_ICC
#define EIGEN_EXPLICIT_STL_LIST_INSTANTIATION(...) template class std::list<__VA_ARGS__, EIGEN_ALIGNED_ALLOCATOR<__VA_ARGS__> >;
#else
#define EIGEN_EXPLICIT_STL_LIST_INSTANTIATION(...)