1
0
forked from 0ad/0ad

__cpuidex was added in VC2008 SP1, so don't use it if pre-SP1

This was SVN commit r9284.
This commit is contained in:
Ykkrosh 2011-04-19 23:23:16 +00:00
parent 1caf223410
commit b35d3a5e3d

View File

@ -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