Module Name:    src
Committed By:   christos
Date:           Thu Dec 24 14:13:59 UTC 2015

Modified Files:
        src/include: fenv.h

Log Message:
add m68k, default types.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/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/include/fenv.h
diff -u src/include/fenv.h:1.17 src/include/fenv.h:1.18
--- src/include/fenv.h:1.17	Wed Dec 23 23:16:00 2015
+++ src/include/fenv.h	Thu Dec 24 09:13:59 2015
@@ -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 @@ int	feupdateenv(const fenv_t *);
 
 #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 */

Reply via email to