workaround compilation issues with assembler in fpu code and mingw
This commit is contained in:
parent
339fc9ed13
commit
b7835cd7b1
@ -39,11 +39,14 @@ FPU::FPU ()
|
||||
|
||||
_flags = Flags (0);
|
||||
|
||||
#if defined(__MINGW64__) // Vkamyshniy: under __MINGW64__ the assembler code below is not compiled
|
||||
return;
|
||||
#endif
|
||||
|
||||
#if !( (defined __x86_64__) || (defined __i386__) ) // !ARCH_X86
|
||||
return;
|
||||
#else
|
||||
|
||||
|
||||
#ifndef _LP64 //USE_X86_64_ASM
|
||||
asm volatile (
|
||||
"mov $1, %%eax\n"
|
||||
|
Loading…
Reference in New Issue
Block a user