Integrate architecture portability fixes.
Submitted by: Ingvar Hagelund
This commit is contained in:
parent
a162402282
commit
1517cc6df7
@ -197,7 +197,7 @@ __FBSDID("$FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.183 2008/12/01 10:20:59 jas
|
||||
#ifdef __alpha__
|
||||
# define QUANTUM_2POW 4
|
||||
#endif
|
||||
#ifdef __sparc64__
|
||||
#ifdef __sparc__
|
||||
# define QUANTUM_2POW 4
|
||||
#endif
|
||||
#ifdef __amd64__
|
||||
@ -212,6 +212,9 @@ __FBSDID("$FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.183 2008/12/01 10:20:59 jas
|
||||
#ifdef __powerpc__
|
||||
# define QUANTUM_2POW 4
|
||||
#endif
|
||||
#ifdef __s390x__
|
||||
# define QUANTUM_2POW 4
|
||||
#endif
|
||||
|
||||
#define QUANTUM ((size_t)(1U << QUANTUM_2POW))
|
||||
#define QUANTUM_MASK (QUANTUM - 1)
|
||||
|
Loading…
Reference in New Issue
Block a user