From 97084ed6551800309bb42a42e88fd693f6dee518 Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Sun, 1 Jun 2008 17:56:13 +1000 Subject: [PATCH] A better check for x86 when enabling fpu_control. --- lily/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5