From 042bd9cbe2ba8c49d744474796bf6298c274eb8a Mon Sep 17 00:00:00 2001 From: Mark Borgerding Date: Wed, 26 Mar 2014 22:23:08 -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 9131cc3fc..cbedf865a 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -95,7 +95,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