Mon Dec 15 00:25:05 2008 UTC ()
merge these two files, makes sparc64 sparc/libc work again.
only provide __HAVE_LONG_DOUBLE if _LP64.


(mrg)
diff -r1.4 -r1.5 src/sys/arch/sparc/include/math.h
diff -r1.6 -r1.7 src/sys/arch/sparc64/include/math.h

cvs diff -r1.4 -r1.5 src/sys/arch/sparc/include/math.h (expand / switch to unified diff)

--- src/sys/arch/sparc/include/math.h 2002/02/19 13:08:15 1.4
+++ src/sys/arch/sparc/include/math.h 2008/12/15 00:25:05 1.5
@@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
1/* $NetBSD: math.h,v 1.4 2002/02/19 13:08:15 simonb Exp $ */ 1/* $NetBSD: math.h,v 1.5 2008/12/15 00:25:05 mrg Exp $ */
2 2
3#define __HAVE_NANF 3#define __HAVE_NANF
 4
 5#ifdef _LP64
 6#define __HAVE_LONG_DOUBLE
 7#endif

cvs diff -r1.6 -r1.7 src/sys/arch/sparc64/include/math.h (expand / switch to unified diff)

--- src/sys/arch/sparc64/include/math.h 2005/12/11 12:19:10 1.6
+++ src/sys/arch/sparc64/include/math.h 2008/12/15 00:25:05 1.7
@@ -1,4 +1,3 @@ @@ -1,4 +1,3 @@
1/* $NetBSD: math.h,v 1.6 2005/12/11 12:19:10 christos Exp $ */ 1/* $NetBSD: math.h,v 1.7 2008/12/15 00:25:05 mrg Exp $ */
2 2
3#define __HAVE_LONG_DOUBLE 3#include <sparc/math.h>
4#define __HAVE_NANF