From b7835cd7b131d2843404b117f2313a0b708d3fe0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 5 Dec 2013 14:45:17 -0500 Subject: workaround compilation issues with assembler in fpu code and mingw --- libs/pbd/fpu.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libs/pbd/fpu.cc') diff --git a/libs/pbd/fpu.cc b/libs/pbd/fpu.cc index 5d81cd2fd3..ef5d21ab4d 100644 --- a/libs/pbd/fpu.cc +++ b/libs/pbd/fpu.cc @@ -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" -- cgit v1.2.3