diff options
author | emaste <emaste@FreeBSD.org> | 2015-03-12 08:52:00 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-03-12 08:52:00 +0000 |
commit | 8f1c95f6062515ca05c42c43f8ff140b614ef155 (patch) | |
tree | b395b2b34a496648551365800941ca57a8290c55 | |
parent | f6b7187a7ce8c601a58d40dd61c642c582d314d7 (diff) | |
download | FreeBSD-src-8f1c95f6062515ca05c42c43f8ff140b614ef155.zip FreeBSD-src-8f1c95f6062515ca05c42c43f8ff140b614ef155.tar.gz |
Add aarch64 (arm64) #define for jemalloc
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h b/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h index 94554bc..75b9b91 100644 --- a/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h +++ b/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h @@ -40,6 +40,9 @@ #ifdef __arm__ # define LG_SIZEOF_PTR 2 #endif +#ifdef __aarch64__ +# define LG_SIZEOF_PTR 3 +#endif #ifdef __mips__ #ifdef __mips_n64 # define LG_SIZEOF_PTR 3 |