$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__)