summaryrefslogtreecommitdiff
path: root/libs/pbd/fpu.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-12-05 14:45:17 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2013-12-05 14:45:17 -0500
commitb7835cd7b131d2843404b117f2313a0b708d3fe0 (patch)
tree2015c1ab6ac25e15a612e9e1edd32d68a994f369 /libs/pbd/fpu.cc
parent339fc9ed139dfd5c167760d35f56df52281dbef8 (diff)
workaround compilation issues with assembler in fpu code and mingw
Diffstat (limited to 'libs/pbd/fpu.cc')
-rw-r--r--libs/pbd/fpu.cc5
1 files changed, 4 insertions, 1 deletions
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"