diff options
author | 2011-01-17 11:17:45 -0500 | |
---|---|---|
committer | 2011-01-17 11:17:45 -0500 | |
commit | c7eaca50a04cdec8743ef6f0ca98c59d8df56941 (patch) | |
tree | d688b08a7b4c2fd2a18f88d1eac16d4f48d6889f /Eigen/src/Core | |
parent | 5e28f3400578048a2122b83cd1b79a9dfc33a017 (diff) |
__cpuidex is not (always) present in VS 2008 + SP1, it seems
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r-- | Eigen/src/Core/util/Memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |