From a56804aa390c383af5507aed46a063b15c2d97cb Mon Sep 17 00:00:00 2001 From: ngie Date: Sun, 16 Nov 2014 20:37:46 +0000 Subject: Alias isinff to isinf on FreeBSD isinf on FreeBSD automatically picks the appropriate type per math.h Sponsored by: EMC / Isilon Storage Division --- contrib/netbsd-tests/lib/libm/t_pow.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib/netbsd-tests/lib/libm/t_pow.c') 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 #include +#ifdef __FreeBSD__ +#define isinff isinf +#endif + /* * pow(3) */ -- cgit v1.1