Fix the __get_cpuid cmake check

This commit is contained in:
Chris Robinson 2014-09-05 02:57:24 -07:00
parent 0b250b246d
commit ab829fd906

View File

@ -355,7 +355,7 @@ IF(HAVE_CPUID_H)
int main()
{
unsigned int eax, ebx, ecx, edx;
return __get_cpuid(0, eax, ebx, ecx, edx);
return __get_cpuid(0, &eax, &ebx, &ecx, &edx);
}" HAVE_GCC_GET_CPUID)
ENDIF()