]> git.donarmstrong.com Git - lilypond.git/commitdiff
A better check for x86 when enabling fpu_control.
authorJoe Neeman <joeneeman@gmail.com>
Sun, 1 Jun 2008 07:56:13 +0000 (17:56 +1000)
committerJoe Neeman <joeneeman@gmail.com>
Sun, 1 Jun 2008 07:56:13 +0000 (17:56 +1000)
lily/main.cc

index 66a645f3202fa93518757b21ed1da9f368f26c4e..6cb7f5e253f4fb26483f89b7492bb1bf3a714aa4 100644 (file)
@@ -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 <fpu_control.h>
 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