summaryrefslogtreecommitdiff
path: root/audio/festival/patches/patch-ae
blob: 50b24a9b5573e75e4706e841fadb69678d3c05e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ae,v 1.4 2005/12/03 04:14:05 joerg Exp $

--- speech_tools/include/EST_math.h.orig	2005-12-03 03:17:51.000000000 +0000
+++ speech_tools/include/EST_math.h
@@ -94,6 +94,11 @@ extern "C" {
 #define isnanf(X) isnan(X)
 #endif
 
+/* If isnan is a macro, assume it is C99 type-variadic. */
+#if defined(__DragonFly__) && defined(isnan)
+#define isnanf(X) isnan(X)
+#endif
+
 /* FreeBSD *and other 4.4 based systems require anything, isnanf is defined */
 #if defined(__FreeBSD__)