Module Name: src Committed By: christos Date: Tue Dec 22 14:19:25 UTC 2015
Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Put have fenv elsewhere. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/tests/lib/libc/stdlib/t_strtod.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/stdlib/t_strtod.c diff -u src/tests/lib/libc/stdlib/t_strtod.c:1.33 src/tests/lib/libc/stdlib/t_strtod.c:1.34 --- src/tests/lib/libc/stdlib/t_strtod.c:1.33 Sat Dec 27 13:03:41 2014 +++ src/tests/lib/libc/stdlib/t_strtod.c Tue Dec 22 09:19:25 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: t_strtod.c,v 1.33 2014/12/27 18:03:41 martin Exp $ */ +/* $NetBSD: t_strtod.c,v 1.34 2015/12/22 14:19:25 christos Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ /* Public domain, Otto Moerbeek <o...@drijf.net>, 2006. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_strtod.c,v 1.33 2014/12/27 18:03:41 martin Exp $"); +__RCSID("$NetBSD: t_strtod.c,v 1.34 2015/12/22 14:19:25 christos Exp $"); #include <errno.h> #include <math.h> @@ -42,9 +42,7 @@ __RCSID("$NetBSD: t_strtod.c,v 1.33 2014 #include <atf-c.h> -#ifdef HAVE_FENV #include <fenv.h> -#endif #if !defined(__vax__) static const char * const inf_strings[] = @@ -238,7 +236,7 @@ ATF_TC_HEAD(strtod_round, tc) ATF_TC_BODY(strtod_round, tc) { -#ifdef HAVE_FENV +#ifdef __HAVE_FENV /* * Test that strtod(3) honors the current rounding mode.