2016-01-21 23:40:00 +01:00

16 lines
386 B
Plaintext

$NetBSD: patch-ac,v 1.2 2015/03/18 17:46:32 dholland Exp $
Fix detection of isnan.
--- libsee/math.c.orig 2009-06-03 06:31:41 +0300
+++ libsee/math.c 2009-06-03 06:33:02 +0300
@@ -47,7 +47,7 @@ _SEE_isnan(n)
{
#if SEE_NUMBER_IS_FLOAT && HAVE_ISNANF
return isnanf(n);
-#elif HAVE_ISNAN
+#elif HAVE_ISNAN || HAVE_DECL_ISNAN
return isnan(n);
#elif HAVE__ISNAN
return _isnan(n);