fix build of FPU code on OS X by reverting to use of _LP64 to identify 32/64 bit...
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 21 Apr 2015 16:13:00 +0000 (12:13 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 21 Apr 2015 16:13:00 +0000 (12:13 -0400)
libs/pbd/fpu.cc

index c297d2dd0734547dd4fe926f99c7506d20a1f11e..d527cb816affa0d80582de019d2537e699f34208 100644 (file)
@@ -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"