Enable SSE with ICC even when it mimics a gcc version lower than 4.2

This commit is contained in:
Gael Guennebaud 2013-04-11 19:48:34 +02:00
parent 1e38928c64
commit 6eaff5a098

View File

@ -44,7 +44,7 @@
#endif
#else
// Remember that usage of defined() in a #define is undefined by the standard
#if (defined __SSE2__) && ( (!defined __GNUC__) || EIGEN_GNUC_AT_LEAST(4,2) )
#if (defined __SSE2__) && ( (!defined __GNUC__) || (defined __INTEL_COMPILER) || EIGEN_GNUC_AT_LEAST(4,2) )
#define EIGEN_SSE2_ON_NON_MSVC_BUT_NOT_OLD_GCC
#endif
#endif