diff options
author | jake <jake@FreeBSD.org> | 2002-02-23 19:05:26 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-02-23 19:05:26 +0000 |
commit | e6a3a506a56995d637dd27a34b7f10d935cfc717 (patch) | |
tree | 414b528f1194e843bc145a3f25f70d3d2749244e /lib | |
parent | 9cdf1cce753a0e908ca01336389f6b5930c5f6df (diff) | |
download | FreeBSD-src-e6a3a506a56995d637dd27a34b7f10d935cfc717.zip FreeBSD-src-e6a3a506a56995d637dd27a34b7f10d935cfc717.tar.gz |
Add ifdefs for sparc64.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 4 | ||||
-rw-r--r-- | lib/libc/stdlib/strtod.c | 3 | ||||
-rw-r--r-- | lib/libc/xdr/xdr_float.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 5bfa4ee..2b8d807 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -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 diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c index e18a852..0af4932 100644 --- a/lib/libc/stdlib/strtod.c +++ b/lib/libc/stdlib/strtod.c @@ -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 diff --git a/lib/libc/xdr/xdr_float.c b/lib/libc/xdr/xdr_float.c index 024888f..0e5e988 100644 --- a/lib/libc/xdr/xdr_float.c +++ b/lib/libc/xdr/xdr_float.c @@ -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 |