21 lines
582 B
Plaintext
21 lines
582 B
Plaintext
$NetBSD: patch-ae,v 1.6 2011/11/21 01:35:29 marino Exp $
|
|
|
|
--- speech_tools/include/EST_math.h.orig 2011-11-20 22:34:00.490181000 +0000
|
|
+++ speech_tools/include/EST_math.h
|
|
@@ -111,6 +111,15 @@ extern "C" {
|
|
|
|
#endif
|
|
|
|
+#if defined(__DragonFly__)
|
|
+#define isnanf(X) __isnanf(X)
|
|
+#endif
|
|
+
|
|
+/* The g++-3.3.6 <cmath> header undefines the macro isnan, but shouldn't. */
|
|
+#if !defined(isnan) && defined(__fpmacro_unary_floating)
|
|
+#define isnan(X) __fpmacro_unary_floating(isnan, (X))
|
|
+#endif
|
|
+
|
|
/* Cygwin (at least cygwin 1.7 with gcc 4.3.4) */
|
|
#if defined(__CYGWIN__)
|
|
#if __GNUG__ > 3
|