From 4f6d7abc8776f508178e7928001f66304c468262 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 8 May 2008 09:15:16 +0000 Subject: [PATCH] only include SSE3 headers if compiling with SSE3 support --- Eigen/Core | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Eigen/Core b/Eigen/Core index cc05c308e..aec206aea 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -9,10 +9,12 @@ #define EIGEN_VECTORIZE_SSE #include #include -// SSE3: +#ifdef __SSE3__ #include -// SSSE3: +#endif +//#ifdef __SSSE3__ //#include +//#endif #endif #ifdef __ALTIVEC__ // There are zero chances of both __SSE2__ AND __ALTIVEC__ been defined #define EIGEN_VECTORIZE