Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2014 20:37:46 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274599 - head/contrib/netbsd-tests/lib/libm
Message-ID:  <201411162037.sAGKbkju089247@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sun Nov 16 20:37:46 2014
New Revision: 274599
URL: https://svnweb.freebsd.org/changeset/base/274599

Log:
  Alias isinff to isinf on FreeBSD
  
  isinf on FreeBSD automatically picks the appropriate type per math.h
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/contrib/netbsd-tests/lib/libm/t_pow.c

Modified: head/contrib/netbsd-tests/lib/libm/t_pow.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libm/t_pow.c	Sun Nov 16 20:35:32 2014	(r274598)
+++ head/contrib/netbsd-tests/lib/libm/t_pow.c	Sun Nov 16 20:37:46 2014	(r274599)
@@ -34,6 +34,10 @@ __RCSID("$NetBSD: t_pow.c,v 1.3 2014/03/
 #include <atf-c.h>
 #include <math.h>
 
+#ifdef __FreeBSD__
+#define isinff isinf
+#endif
+
 /*
  * pow(3)
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411162037.sAGKbkju089247>