]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bezier.cc
patch::: 1.3.48.jcn1
[lilypond.git] / lily / bezier.cc
index 4cb2b3682ed3e9b7015718bbf524322d402955f2..6f2c011692a1d553f1d5f3869bf9cebfb441e8a2 100644 (file)
@@ -7,6 +7,16 @@
 */
 
 #include <math.h>
+#include "config.h"
+
+/* 
+  IS_INF tests its floating point number for infiniteness 
+  Ripped from guile's number.c.  Solaris has no isinf ().
+  */
+#if ! HAVE_ISINF
+    #define isinf(x) ((x) == (x) / 2)
+#endif
+
 #include "bezier.hh"
 #include "polynomial.hh"