From c7eaca50a04cdec8743ef6f0ca98c59d8df56941 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 17 Jan 2011 11:17:45 -0500 Subject: [PATCH] __cpuidex is not (always) present in VS 2008 + SP1, it seems --- Eigen/src/Core/util/Memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index b139d1831..9f95d5bc7 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -608,7 +608,7 @@ public: __asm__ __volatile__ ("cpuid": "=a" (abcd[0]), "=b" (abcd[1]), "=c" (abcd[2]), "=d" (abcd[3]) : "a" (func), "c" (id) ); # endif #elif defined(_MSC_VER) -# if (_MSC_VER > 1500) /* newer than MSVC++ 9.0 */ || (_MSC_VER == 1500 && _MSC_FULL_VER >= 150030729) /* MSVC++ 9.0 with SP1*/ +# if (_MSC_VER > 1500) # define EIGEN_CPUID(abcd,func,id) __cpuidex((int*)abcd,func,id) # endif #endif