Index: contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h =================================================================== --- contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h (revision 234598) +++ contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h (working copy) @@ -41,8 +41,12 @@ # define LG_SIZEOF_PTR 2 #endif #ifdef __mips__ +#ifdef __mips_n64 +# define LG_SIZEOF_PTR 3 +#else # define LG_SIZEOF_PTR 2 #endif +#endif #ifdef __powerpc64__ # define LG_SIZEOF_PTR 3 #elif defined(__powerpc__)