We need at least 68010 or coldfire for fenv.

This commit is contained in:
christos 2015-12-27 19:50:31 +00:00
parent 3b9392e4ad
commit 9c19c47e2d

View File

@ -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