]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/libc-extension.hh
2003 -> 2004
[lilypond.git] / flower / include / libc-extension.hh
index bfba8c9d035f3458807d50a56a4065744e914981..a5385b4b01f00a834b086e883e189edc16654c71 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the flowerlib
 
-  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
@@ -12,6 +12,8 @@
 
 #include "flower-proto.hh"
 #include "config.h"
+
+
 #include <cstddef>
 #include <stdarg.h>
 
@@ -31,15 +33,10 @@ int snprintf (char *str, size_t n, char const *format, ...);
 int vsnprintf (char *str, size_t, char const *format, va_list args);
 #endif
 
-
+#ifndef isinf
 #if !HAVE_ISINF                        // BSD extension 
 int isinf (double x);
-
 #endif
-
-
-#if ! HAVE_LRINT
-#define lrint(__x) ((long) (round (__x)))
 #endif
 
 
@@ -47,4 +44,6 @@ Byte *memrchr (Byte const * p, int n, char c);
 Byte *strrev (Byte* byte, int length_i);
 
 
+double my_round (double);
+
 #endif // LIBC_EXTENSION_HH