13
0

fix build of FPU code on OS X by reverting to use of _LP64 to identify 32/64 bit situation

This commit is contained in:
Paul Davis 2015-04-21 12:13:00 -04:00
parent a5d7e8446b
commit 9241f58188

View 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"