Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/sys Regardless of __HAVE_FENV, include <fenv....



details:   https://anonhg.NetBSD.org/src/rev/ada944d47a16
branches:  trunk
changeset: 973048:ada944d47a16
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Jun 17 08:23:18 2020 +0000

description:
Regardless of __HAVE_FENV, include <fenv.h>, which itself defines __HAVE_FENV.

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 743ff462bdb6 -r ada944d47a16 tests/lib/libc/sys/t_ptrace_wait.h
--- a/tests/lib/libc/sys/t_ptrace_wait.h        Wed Jun 17 07:01:02 2020 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.h        Wed Jun 17 08:23:18 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.h,v 1.28 2020/05/05 00:50:39 kamil Exp $ */
+/*     $NetBSD: t_ptrace_wait.h,v 1.29 2020/06/17 08:23:18 rin Exp $   */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -654,9 +654,7 @@
 #endif
 }
 
-#ifdef __HAVE_FENV
 #include <fenv.h>
-#endif
 
 #if (__arm__ && !__SOFTFP__) || __aarch64__
 #include <ieeefp.h> /* only need for ARM Cortex/Neon hack */



Home | Main Index | Thread Index | Old Index