1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 18:59:09 +00:00

Fix some minGW bugs.

This commit is contained in:
Darryl Pogue
2012-02-04 19:16:50 -08:00
parent 8416c8ed42
commit d39a8ab298
6 changed files with 11 additions and 8 deletions

View File

@ -141,6 +141,7 @@ void CpuGetInfo (
uint32_t flags[2] = { 0, 0 };
cpuVendor[0] = 0;
#ifdef _MSC_VER
_asm {
// Detect if cpuid instruction is supported by attempting
// to change the ID bit of EFLAGS
@ -187,6 +188,7 @@ void CpuGetInfo (
DONE:
}
#endif
// Decode capability flags
const static struct CpuCap {