svn commit: r274599 - head/contrib/netbsd-tests/lib/libm

Garrett Cooper ngie at FreeBSD.org
Sun Nov 16 20:37:47 UTC 2014


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)
  */


More information about the svn-src-head mailing list