Source-Changes-HG archive

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

[src/trunk]: src/include Add __HAVE_FENV



details:   https://anonhg.NetBSD.org/src/rev/4cb9cf6e749f
branches:  trunk
changeset: 812586:4cb9cf6e749f
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 22 14:24:55 2015 +0000

description:
Add __HAVE_FENV

diffstat:

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

diffs (22 lines):

diff -r fc740c7a08b8 -r 4cb9cf6e749f include/fenv.h
--- a/include/fenv.h    Tue Dec 22 14:20:59 2015 +0000
+++ b/include/fenv.h    Tue Dec 22 14:24:55 2015 +0000
@@ -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_



Home | Main Index | Thread Index | Old Index