summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-11-16 20:37:46 +0000
committerngie <ngie@FreeBSD.org>2014-11-16 20:37:46 +0000
commita56804aa390c383af5507aed46a063b15c2d97cb (patch)
tree4998236483636fe840689a4c16ff04d4de7d9648 /contrib/netbsd-tests
parentd4d5fb458ad6edb402014a138b1bb0d35e6aa4f0 (diff)
downloadFreeBSD-src-a56804aa390c383af5507aed46a063b15c2d97cb.zip
FreeBSD-src-a56804aa390c383af5507aed46a063b15c2d97cb.tar.gz
Alias isinff to isinf on FreeBSD
isinf on FreeBSD automatically picks the appropriate type per math.h Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests')
-rw-r--r--contrib/netbsd-tests/lib/libm/t_pow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libm/t_pow.c b/contrib/netbsd-tests/lib/libm/t_pow.c
index 62b7235..a8ae6f0 100644
--- a/contrib/netbsd-tests/lib/libm/t_pow.c
+++ b/contrib/netbsd-tests/lib/libm/t_pow.c
@@ -34,6 +34,10 @@ __RCSID("$NetBSD: t_pow.c,v 1.3 2014/03/03 10:39:08 martin Exp $");
#include <atf-c.h>
#include <math.h>
+#ifdef __FreeBSD__
+#define isinff isinf
+#endif
+
/*
* pow(3)
*/
OpenPOWER on IntegriCloud