jemalloc: pointer size definition for 64-bit mips platforms
LG_SIZEOF_PTR has to be defined as 3 when jemalloc is compiled for 64 bit platforms. Reviewed by: juli Approved by: jasone
This commit is contained in:
parent
fca1e0abf3
commit
79656e93c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234646
@ -41,8 +41,12 @@
|
|||||||
# define LG_SIZEOF_PTR 2
|
# define LG_SIZEOF_PTR 2
|
||||||
#endif
|
#endif
|
||||||
#ifdef __mips__
|
#ifdef __mips__
|
||||||
|
#ifdef __mips_n64
|
||||||
|
# define LG_SIZEOF_PTR 3
|
||||||
|
#else
|
||||||
# define LG_SIZEOF_PTR 2
|
# define LG_SIZEOF_PTR 2
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifdef __powerpc64__
|
#ifdef __powerpc64__
|
||||||
# define LG_SIZEOF_PTR 3
|
# define LG_SIZEOF_PTR 3
|
||||||
#elif defined(__powerpc__)
|
#elif defined(__powerpc__)
|
||||||
|
Loading…
Reference in New Issue
Block a user