]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/real.cc
Doc: Included/compile.itexi - CG 4.2 - Updated notes on reqs for compiling
[lilypond.git] / flower / real.cc
index a043b98f4f04873a2331faf5146adca6ce7eef9f..e81577c05f72f7ea6cadfe852b6e80ebd898906f 100644 (file)
@@ -1,4 +1,10 @@
-#include <math.h>
 #include "real.hh"
 
+#include <cmath>
+
+#ifdef INFINITY
+const Real infinity_f = INFINITY;
+#else
 const Real infinity_f = HUGE_VAL;
+#endif
+