From: Han-Wen Nienhuys Date: Sat, 7 Jun 2008 20:39:01 +0000 (-0300) Subject: Thinko: HAVE_XXX is always defined (even if 0). X-Git-Tag: release/2.11.48-1~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a324b7516ad2bb433df84025b1df226eee30b374;p=lilypond.git Thinko: HAVE_XXX is always defined (even if 0). --- diff --git a/lily/main.cc b/lily/main.cc index 54e0aaa5be..e0f5dda1a2 100644 --- a/lily/main.cc +++ b/lily/main.cc @@ -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 static void configure_fpu() {