From: Joe Neeman Date: Sun, 1 Jun 2008 07:56:13 +0000 (+1000) Subject: A better check for x86 when enabling fpu_control. X-Git-Tag: release/2.11.48-1~8^2~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=97084ed6551800309bb42a42e88fd693f6dee518;p=lilypond.git A better check for x86 when enabling fpu_control. --- diff --git a/lily/main.cc b/lily/main.cc index 66a645f320..6cb7f5e253 100644 --- a/lily/main.cc +++ b/lily/main.cc @@ -172,7 +172,7 @@ char const *LILYPOND_DATADIR = PACKAGE_DATADIR "/" TOPLEVEL_VERSION; unpredictable places. To get around this, we tell the x87 FPU to use only double precision. Note that this is not needed for x86_64 because that uses the SSE unit by default instead of the x87 FPU. */ -#ifdef __x86__ +#if defined(__x86__) || defined(__i386__) #include static void configure_fpu() { @@ -185,7 +185,7 @@ static void configure_fpu() { static void configure_fpu() { } -#endif /* __x86__ */ +#endif /* defined(__x86__) || defined(__i386__) */ static void