Module Name: src Committed By: christos Date: Tue Dec 22 14:24:56 UTC 2015
Modified Files: src/include: fenv.h Log Message: Add __HAVE_FENV To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 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.15 src/include/fenv.h:1.16 --- src/include/fenv.h:1.15 Mon Dec 21 11:49:53 2015 +++ src/include/fenv.h Tue Dec 22 09:24:55 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: fenv.h,v 1.15 2015/12/21 16:49:53 christos Exp $ */ +/* $NetBSD: fenv.h,v 1.16 2015/12/22 14:24:55 christos Exp $ */ /* * Copyright (c) 2010 The NetBSD Foundation, Inc. * All rights reserved. @@ -29,8 +29,12 @@ && !defined(__hppa__) && !defined(__powerpc__) && !defined(__mips__) \ && !defined(__or1k__) && !defined(__riscv__) && !defined(__sparc__) \ && !defined(__x86_64__) +#ifndef __TEST_FENV #error "fenv.h is currently not supported for this architecture" #endif +#else +# define __HAVE_FENV +#endif #ifndef _FENV_H_ #define _FENV_H_