Add ifdefs for sparc64.

This commit is contained in:
Jake Burkholder 2002-02-23 19:05:26 +00:00
parent 3b16ee2c6c
commit dfca860bfc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91161
3 changed files with 7 additions and 2 deletions

View File

@ -57,6 +57,10 @@
# define malloc_pageshift 13U
# define malloc_minsize 16U
# endif
# if defined(__sparc64__)
# define malloc_pageshift 13U
# define malloc_minsize 16U
# endif
# if !defined(__NETBSD_SYSCALLS)
# define HAS_UTRACE
# endif

View File

@ -119,7 +119,8 @@ static char sccsid[] = "@(#)strtod.c 8.1 (Berkeley) 6/4/93";
* FLT_RADIX, FLT_ROUNDS, and DBL_MAX.
*/
#if defined(__i386__) || defined(__ia64__) || defined(__alpha__)
#if defined(__i386__) || defined(__ia64__) || defined(__alpha__) || \
defined(__sparc64__)
#include <sys/types.h>
#if BYTE_ORDER == BIG_ENDIAN
#define IEEE_BIG_ENDIAN

View File

@ -64,7 +64,7 @@ static char *rcsid = "$FreeBSD$";
#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
defined(__arm32__) || defined(__ppc__) || defined(__ia64__) || \
defined(__arm26__)
defined(__arm26__) || defined(__sparc64__)
#include <machine/endian.h>
#define IEEEFP
#endif