Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/m68k/include disable code that does not work for su...



details:   https://anonhg.NetBSD.org/src/rev/e8e229c9cdd9
branches:  trunk
changeset: 812718:e8e229c9cdd9
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 29 16:02:37 2015 +0000

description:
disable code that does not work for sun2/coldfire

diffstat:

 sys/arch/m68k/include/fenv.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r ee0a9d702b28 -r e8e229c9cdd9 sys/arch/m68k/include/fenv.h
--- a/sys/arch/m68k/include/fenv.h      Tue Dec 29 14:51:38 2015 +0000
+++ b/sys/arch/m68k/include/fenv.h      Tue Dec 29 16:02:37 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fenv.h,v 1.2 2015/12/25 16:19:38 christos Exp $        */
+/*     $NetBSD: fenv.h,v 1.3 2015/12/29 16:02:37 christos Exp $        */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -59,6 +59,8 @@
 #define _ROUND_MASK    \
     (FE_TONEAREST | FE_TOWARDZERO | FE_DOWNWARD | FE_UPWARD)
 
+#if !defined(__mc68010__) && !defined(__mcoldfire__)
+
 typedef uint32_t fexcept_t;
 
 /* same layout as fmovem */
@@ -299,6 +301,8 @@
 
 #endif /* _NETBSD_SOURCE || _GNU_SOURCE */
 
+#endif /* !__m68010__ && !__mcoldfire__ */
+
 __END_DECLS
 
 #endif /* _M68K_FENV_H_ */



Home | Main Index | Thread Index | Old Index