cpu.c: Fix debug Windows w32 build issue

Was failing to build without NASM.

Patch-from: Olivier Tristan <o.tristan@uvi.net>
This commit is contained in:
Erik de Castro Lopo
2017-02-23 18:58:44 +11:00
parent f80652a8fa
commit 172146bd8a

View File

@@ -118,7 +118,9 @@ ia32_cpu_info (FLAC__CPUInfo *info)
FLAC__cpu_info_x86(1, &flags_eax, &flags_ebx, &flags_ecx, &flags_edx);
}
else {
#if FLAC__HAS_NASM
FLAC__cpu_info_asm_ia32(&flags_edx, &flags_ecx);
#endif
}
info->ia32.cmov = (flags_edx & FLAC__CPUINFO_IA32_CPUID_CMOV ) ? true : false;