Source-Changes-HG archive

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

[src/trunk]: src/tests/kernel vaxinate against ieeefp.h



details:   https://anonhg.NetBSD.org/src/rev/de560230292a
branches:  trunk
changeset: 448252:de560230292a
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 27 16:29:56 2019 +0000

description:
vaxinate against ieeefp.h

diffstat:

 tests/kernel/h_segv.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 402bfafb6b15 -r de560230292a tests/kernel/h_segv.c
--- a/tests/kernel/h_segv.c     Sun Jan 27 13:16:05 2019 +0000
+++ b/tests/kernel/h_segv.c     Sun Jan 27 16:29:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: h_segv.c,v 1.11 2019/01/26 16:44:30 martin Exp $       */
+/*     $NetBSD: h_segv.c,v 1.12 2019/01/27 16:29:56 christos Exp $     */
 
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: h_segv.c,v 1.11 2019/01/26 16:44:30 martin Exp $");
+__RCSID("$NetBSD: h_segv.c,v 1.12 2019/01/27 16:29:56 christos Exp $");
 
 #define        __TEST_FENV
 
@@ -39,7 +39,9 @@
 
 #include <err.h>
 #include <fenv.h>
+#if (__arm__ && !__SOFTFP__) || __aarch64__
 #include <ieeefp.h> /* only need for ARM Cortex/Neon hack */
+#endif
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>



Home | Main Index | Thread Index | Old Index