Module Name:    src
Committed By:   christos
Date:           Sat Oct  1 17:39:14 UTC 2011

Modified Files:
        src/sys/sys: float_ieee754.h

Log Message:
Define a macro we can use to detect if a port has support for ieeefp


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/sys/float_ieee754.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/float_ieee754.h
diff -u src/sys/sys/float_ieee754.h:1.9 src/sys/sys/float_ieee754.h:1.10
--- src/sys/sys/float_ieee754.h:1.9	Thu Jul  7 14:23:18 2011
+++ src/sys/sys/float_ieee754.h	Sat Oct  1 13:39:14 2011
@@ -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);

Reply via email to