Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/gen Include <ieeefp.h> even for the <fenv.h> ...



details:   https://anonhg.NetBSD.org/src/rev/24eb63379e52
branches:  trunk
changeset: 805335:24eb63379e52
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Dec 29 18:36:27 2014 +0000

description:
Include <ieeefp.h> even for the <fenv.h> case since we use fpsetmask()
to detect ARM Cortex NEON fpus.

diffstat:

 tests/lib/libc/gen/t_siginfo.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 7f653b1ba25c -r 24eb63379e52 tests/lib/libc/gen/t_siginfo.c
--- a/tests/lib/libc/gen/t_siginfo.c    Mon Dec 29 18:23:57 2014 +0000
+++ b/tests/lib/libc/gen/t_siginfo.c    Mon Dec 29 18:36:27 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.26 2014/11/19 10:09:45 martin Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.27 2014/12/29 18:36:27 martin Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -46,6 +46,7 @@
 
 #ifdef HAVE_FENV
 #include <fenv.h>
+#include <ieeefp.h>    /* only need for ARM Cortex/Neon hack */
 #elif defined(_FLOAT_IEEE754)
 #include <ieeefp.h>
 #endif



Home | Main Index | Thread Index | Old Index