Make cpu-id arch detection use our own macro.

This commit is contained in:
Ari Koivula 2013-09-24 12:41:14 +03:00
parent d381ec234d
commit 28e0090bd2

View file

@ -84,10 +84,10 @@ int main(int argc, char *argv[])
} }
// Dig CPU features with cpuid // Dig CPU features with cpuid
#ifndef X64 #ifdef X86_64
//cpuId32(&ecx,&edx);
#else
cpuId64(&ecx,&edx); cpuId64(&ecx,&edx);
#else
cpuId32(&ecx,&edx);
#endif #endif
printf("CPU features enabled: "); printf("CPU features enabled: ");
// EDX // EDX