aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2014-11-16 20:37:46 +0000
committerEnji Cooper <ngie@FreeBSD.org>2014-11-16 20:37:46 +0000
commit12c91ea88393455e586dfc1005c2ec73143db72e (patch)
tree4998236483636fe840689a4c16ff04d4de7d9648 /contrib
parent790973021f8ea886562dfa969204f7716c620cc1 (diff)
downloadsrc-12c91ea88393455e586dfc1005c2ec73143db72e.tar.gz
src-12c91ea88393455e586dfc1005c2ec73143db72e.zip
Alias isinff to isinf on FreeBSD
isinf on FreeBSD automatically picks the appropriate type per math.h Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=274599
Diffstat (limited to 'contrib')
-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 62b7235e7640..a8ae6f0f62fa 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)
*/