projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d7e84
)
fix build of FPU code on OS X by reverting to use of _LP64 to identify 32/64 bit...
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 21 Apr 2015 16:13:00 +0000
(12:13 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 21 Apr 2015 16:13:00 +0000
(12:13 -0400)
libs/pbd/fpu.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/fpu.cc
b/libs/pbd/fpu.cc
index c297d2dd0734547dd4fe926f99c7506d20a1f11e..d527cb816affa0d80582de019d2537e699f34208 100644
(file)
--- 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"