Module Name: src
Committed By: christos
Date: Tue Dec 29 16:02:37 UTC 2015
Modified Files:
src/sys/arch/m68k/include: fenv.h
Log Message:
disable code that does not work for sun2/coldfire
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/m68k/include/fenv.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/m68k/include/fenv.h
diff -u src/sys/arch/m68k/include/fenv.h:1.2 src/sys/arch/m68k/include/fenv.h:1.3
--- src/sys/arch/m68k/include/fenv.h:1.2 Fri Dec 25 11:19:38 2015
+++ src/sys/arch/m68k/include/fenv.h Tue Dec 29 11:02:37 2015
@@ -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 @@ fegetexcept(void)
#endif /* _NETBSD_SOURCE || _GNU_SOURCE */
+#endif /* !__m68010__ && !__mcoldfire__ */
+
__END_DECLS
#endif /* _M68K_FENV_H_ */