]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/main.cc
Merge branch 'master' into dev/texi2html
[lilypond.git] / lily / main.cc
index 6cb7f5e253f4fb26483f89b7492bb1bf3a714aa4..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__)
+#if ((defined(__x86__) || defined(__i386__)) \
+  && defined(HAVE_FPU_CONTROL_H) && (HAVE_FPU_CONTROL_H == 1))
 
 #include <fpu_control.h>
 static void configure_fpu() {