__cpuidex was added in VC2008 SP1, so don't use it if pre-SP1
This was SVN commit r9284.
This commit is contained in:
parent
1caf223410
commit
b35d3a5e3d
@ -45,7 +45,7 @@
|
||||
#endif
|
||||
|
||||
#define CPUID_INTRINSIC 0
|
||||
#if MSC_VERSION >= 1500 // __cpuidex available (allows setting ecx beforehand)
|
||||
#if MSC_VERSION > 1500 || (MSC_VERSION == 1500 && _MSC_FULL_VER >= 150030729) // __cpuidex available on VC10+ and VC9 SP1 (allows setting ecx beforehand)
|
||||
# undef CPUID_INTRINSIC
|
||||
# define CPUID_INTRINSIC 1
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user