Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Define a macro we can use to detect if a port has su...
details: https://anonhg.NetBSD.org/src/rev/0f1c419d33e9
branches: trunk
changeset: 770038:0f1c419d33e9
user: christos <christos%NetBSD.org@localhost>
date: Sat Oct 01 17:39:14 2011 +0000
description:
Define a macro we can use to detect if a port has support for ieeefp
diffstat:
sys/sys/float_ieee754.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r d10c3e900c48 -r 0f1c419d33e9 sys/sys/float_ieee754.h
--- a/sys/sys/float_ieee754.h Sat Oct 01 16:06:24 2011 +0000
+++ b/sys/sys/float_ieee754.h Sat Oct 01 17:39:14 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: float_ieee754.h,v 1.9 2011/07/07 18:23:18 matt Exp $ */
+/* $NetBSD: float_ieee754.h,v 1.10 2011/10/01 17:39:14 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -42,6 +42,11 @@
#include <sys/cdefs.h>
#include <sys/featuretest.h>
+/*
+ * feature macro to test for IEEE754
+ */
+#define _FLOAT_IEEE754 1
+
#ifndef FLT_ROUNDS
__BEGIN_DECLS
extern int __flt_rounds(void);
Home |
Main Index |
Thread Index |
Old Index