Module Name: src Committed By: bouyer Date: Mon May 11 20:09:09 UTC 2009
Modified Files: src/sys/arch/sparc/include [netbsd-5]: math.h src/sys/arch/sparc64/include [netbsd-5]: math.h Log Message: Pull up following revision(s) (requested by mrg in ticket #750): sys/arch/sparc64/include/math.h: revision 1.7 sys/arch/sparc/include/math.h: revision 1.5 merge these two files, makes sparc64 sparc/libc work again. only provide __HAVE_LONG_DOUBLE if _LP64. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.132.1 src/sys/arch/sparc/include/math.h cvs rdiff -u -r1.6 -r1.6.88.1 src/sys/arch/sparc64/include/math.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/arch/sparc/include/math.h diff -u src/sys/arch/sparc/include/math.h:1.4 src/sys/arch/sparc/include/math.h:1.4.132.1 --- src/sys/arch/sparc/include/math.h:1.4 Tue Feb 19 13:08:15 2002 +++ src/sys/arch/sparc/include/math.h Mon May 11 20:09:09 2009 @@ -1,3 +1,7 @@ -/* $NetBSD: math.h,v 1.4 2002/02/19 13:08:15 simonb Exp $ */ +/* $NetBSD: math.h,v 1.4.132.1 2009/05/11 20:09:09 bouyer Exp $ */ #define __HAVE_NANF + +#ifdef _LP64 +#define __HAVE_LONG_DOUBLE +#endif Index: src/sys/arch/sparc64/include/math.h diff -u src/sys/arch/sparc64/include/math.h:1.6 src/sys/arch/sparc64/include/math.h:1.6.88.1 --- src/sys/arch/sparc64/include/math.h:1.6 Sun Dec 11 12:19:10 2005 +++ src/sys/arch/sparc64/include/math.h Mon May 11 20:09:09 2009 @@ -1,4 +1,3 @@ -/* $NetBSD: math.h,v 1.6 2005/12/11 12:19:10 christos Exp $ */ +/* $NetBSD: math.h,v 1.6.88.1 2009/05/11 20:09:09 bouyer Exp $ */ -#define __HAVE_LONG_DOUBLE -#define __HAVE_NANF +#include <sparc/math.h>