From 9241f581883ddcdd51560c56c83c6afa6dc3815a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 21 Apr 2015 12:13:00 -0400 Subject: [PATCH] fix build of FPU code on OS X by reverting to use of _LP64 to identify 32/64 bit situation --- libs/pbd/fpu.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"