diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 5088099fb..052868097 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -142,14 +142,14 @@ #define EIGEN_ALWAYS_INLINE_ATTRIB #endif -#if EIGEN_GNUC_AT_LEAST(4,1) && !defined(__clang__) && !defined(__intel_compiler) +#if EIGEN_GNUC_AT_LEAST(4,1) && !defined(__clang__) && !defined(__INTEL_COMPILER) #define EIGEN_FLATTEN_ATTRIB __attribute__((flatten)) #else #define EIGEN_FLATTEN_ATTRIB #endif // EIGEN_FORCE_INLINE means "inline as much as possible" -#if (defined _MSC_VER) || (defined __intel_compiler) +#if (defined _MSC_VER) || (defined __INTEL_COMPILER) #define EIGEN_STRONG_INLINE __forceinline #else #define EIGEN_STRONG_INLINE inline diff --git a/Eigen/src/Core/util/ReenableStupidWarnings.h b/Eigen/src/Core/util/ReenableStupidWarnings.h index d1164a82c..92d2d95c0 100644 --- a/Eigen/src/Core/util/ReenableStupidWarnings.h +++ b/Eigen/src/Core/util/ReenableStupidWarnings.h @@ -1,5 +1,5 @@ #ifdef _MSC_VER #pragma warning( pop ) -#elif defined __intel_compiler +#elif defined __INTEL_COMPILER #pragma warning pop #endif \ No newline at end of file