corrections. Thanks to Karl Berry
2000-08-30 Heikki Junes <hjunes@cc.hut.fi>
+
* make/lilypond.mandrake.spec.in: Mandrake adaptations from
redhat spec and rpm-skeleton found in Mandrake's home page.
#include <stdlib.h>
#include <math.h> /* isinf */
#include <string.h> /* strdup, strchr */
+
+
+#include "lily-proto.hh"
+
+/* macosx fix:
+
+
+ source-file.hh includes cmath which undefines isinf and isnan
+*/
+inline int my_isinf(Real r) { return isinf(r); }
+inline int my_isnan(Real r) { return isnan(r); }
+
+
+
#include "libc-extension.hh"
#include "lily-guile.hh"
#include "main.hh"
#include "interval.hh"
#include "pitch.hh"
#include "dimensions.hh"
-
-/* macosx fix:
-
- source-file.hh includes cmath which undefines isinf and isnan
-*/
-inline int (isinf)(Real r) { return isinf(r); }
-inline int (isnan)(Real r) { return isnan(r); }
-
#include "source-file.hh"
// #define TEST_GC
{
Real r (gh_scm2double (s));
- if (isinf (r) || isnan (r))
+ if (my_isinf (r) || my_isnan (r))
{
programming_error ("Infinity or NaN encountered while converting Real number; setting to zero.");
r = 0.0;