]> git.donarmstrong.com Git - lilypond.git/commitdiff
Thinko: HAVE_XXX is always defined (even if 0).
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 7 Jun 2008 20:39:01 +0000 (17:39 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 7 Jun 2008 20:39:01 +0000 (17:39 -0300)
lily/main.cc

index 54e0aaa5be00017ab644bbad49fec90380896236..e0f5dda1a2d93a34a3a06b4834b60954a6fa4dbb 100644 (file)
@@ -172,7 +172,8 @@ 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. */
-#if (defined(__x86__) || defined(__i386__)) && defined(HAVE_FPU_CONTROL_H)
+#if ((defined(__x86__) || defined(__i386__)) \
+  && defined(HAVE_FPU_CONTROL_H) && (HAVE_FPU_CONTROL_H == 1))
 
 #include <fpu_control.h>
 static void configure_fpu() {