From 12c91ea88393455e586dfc1005c2ec73143db72e Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sun, 16 Nov 2014 20:37:46 +0000 Subject: [PATCH] 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(+) diff --git a/contrib/netbsd-tests/lib/libm/t_pow.c b/contrib/netbsd-tests/lib/libm/t_pow.c index 62b7235e764..a8ae6f0f62f 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) */