Source-Changes-HG archive

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

[src/trunk]: src/include add m68k, default types.



details:   https://anonhg.NetBSD.org/src/rev/3577ba4fa489
branches:  trunk
changeset: 342488:3577ba4fa489
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Dec 24 14:13:59 2015 +0000

description:
add m68k, default types.

diffstat:

 include/fenv.h |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r db2bd248ebe0 -r 3577ba4fa489 include/fenv.h
--- a/include/fenv.h    Thu Dec 24 14:12:39 2015 +0000
+++ b/include/fenv.h    Thu Dec 24 14:13:59 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fenv.h,v 1.17 2015/12/24 04:16:00 christos Exp $       */
+/*     $NetBSD: fenv.h,v 1.18 2015/12/24 14:13:59 christos Exp $       */
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -32,10 +32,12 @@
 #if !defined(__aarch64__) && !defined(__arm__) && !defined(__i386__) \
     && !defined(__hppa__) && !defined(__powerpc__) && !defined(__mips__) \
     && !defined(__or1k__) && !defined(__riscv__) && !defined(__sparc__) \
-    && !defined(__x86_64__)
+    && !defined(__x86_64__) && !defined(__m68k__)
 # ifndef __TEST_FENV
 #  error       "fenv.h is currently not supported for this architecture"
 # endif
+typedef int fexcept_t;
+typedef int fenv_t;
 #else
 # define __HAVE_FENV
 # include <machine/fenv.h>
@@ -58,8 +60,8 @@
 
 #if defined(_NETBSD_SOURCE) || defined(_GNU_SOURCE)
 
-int    feenableexcept(int mask);
-int    fedisableexcept(int mask);
+int    feenableexcept(int);
+int    fedisableexcept(int);
 int    fegetexcept(void);
 
 #endif /* _NETBSD_SOURCE || _GNU_SOURCE */



Home | Main Index | Thread Index | Old Index