From 9ce0d785137c4034f19193c6a6781bbbb38e29fb Mon Sep 17 00:00:00 2001 From: Mark Borgerding Date: Wed, 26 Mar 2014 22:26:07 -0400 Subject: [PATCH] immintrin.h did not come until intel version 11 --- Eigen/Core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/Core b/Eigen/Core index 468ae0c76..412409497 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -123,7 +123,7 @@ extern "C" { // In theory we should only include immintrin.h and not the other *mmintrin.h header files directly. // Doing so triggers some issues with ICC. However old gcc versions seems to not have this file, thus: - #ifdef __INTEL_COMPILER + #if defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1110 #include #else #include