summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2015-12-27 19:50:31 +0000
committerchristos <christos@NetBSD.org>2015-12-27 19:50:31 +0000
commitbfd3e2dc6d5865ebeada33bccbd875b9ab7e13db (patch)
treebb850c45cc9a75bd444818fc42aa88688d258f5b /include
parent33f320ac387e5e6ed78a1e3408019e5e6e0718f7 (diff)
We need at least 68010 or coldfire for fenv.
Diffstat (limited to 'include')
-rw-r--r--include/fenv.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/fenv.h b/include/fenv.h
index a9dc77e8c5c..0f604659a62 100644
--- a/include/fenv.h
+++ b/include/fenv.h
@@ -1,4 +1,4 @@
-/* $NetBSD: fenv.h,v 1.18 2015/12/24 14:13:59 christos Exp $ */
+/* $NetBSD: fenv.h,v 1.19 2015/12/27 19:50:31 christos Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -32,7 +32,8 @@
#if !defined(__aarch64__) && !defined(__arm__) && !defined(__i386__) \
&& !defined(__hppa__) && !defined(__powerpc__) && !defined(__mips__) \
&& !defined(__or1k__) && !defined(__riscv__) && !defined(__sparc__) \
- && !defined(__x86_64__) && !defined(__m68k__)
+ && !defined(__x86_64__)
+ && !(defined(__m68k__) && (defined(__mc68010__) || defined(__mcoldfire__)))
# ifndef __TEST_FENV
# error "fenv.h is currently not supported for this architecture"
# endif