]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/real.cc
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / flower / real.cc
index a043b98f4f04873a2331faf5146adca6ce7eef9f..55537f8fa5d56296f473be106313e81ed87ca09b 100644 (file)
@@ -1,4 +1,13 @@
-#include <math.h>
 #include "real.hh"
 
-const Real infinity_f = HUGE_VAL;
+#include <cmath>
+using namespace std;
+
+const Real infinity_f =
+#ifdef INFINITY
+  INFINITY
+#else
+  HUGE_VAL  
+#endif
+  ;
+