summaryrefslogtreecommitdiff
path: root/libs/pbd/fpu.cc
diff options
context:
space:
mode:
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 c297d2dd07..d527cb816a 100644
--- a/libs/pbd/fpu.cc
+++ b/libs/pbd/fpu.cc
@@ -59,7 +59,10 @@ FPU::FPU ()
#else
-#ifndef USE_X86_64_ASM /* *nix; 32 bit version */
+#ifndef _LP64 /* *nix; 32 bit version. This odd macro constant is required because we need something that identifies this as a 32 bit
+ build on Linux and on OS X. Anything that serves this purpose will do, but this is the best thing we've identified
+ so far.
+ */
asm volatile (
"mov $1, %%eax\n"