X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/4934f93dfb30c93a1636e3227584e791cd062bfb..4468ba231785fe9fda26f2d05181f91342d91c2d:/deps/jemalloc/configure diff --git a/deps/jemalloc/configure b/deps/jemalloc/configure index 1d2b8bee..0d748129 100755 --- a/deps/jemalloc/configure +++ b/deps/jemalloc/configure @@ -4426,6 +4426,7 @@ MKLIB='ar crus $@' CC_MM=1 default_munmap="1" +JEMALLOC_USABLE_SIZE_CONST="const" case "${host}" in *-*-darwin*) CFLAGS="$CFLAGS" @@ -4455,6 +4456,7 @@ case "${host}" in $as_echo "#define JEMALLOC_THREADED_INIT " >>confdefs.h + JEMALLOC_USABLE_SIZE_CONST="" default_munmap="0" ;; *-*-netbsd*) @@ -4530,6 +4532,10 @@ $as_echo "Unsupported operating system: ${host}" >&6; } abi="elf" ;; esac +cat >>confdefs.h <<_ACEOF +#define JEMALLOC_USABLE_SIZE_CONST $JEMALLOC_USABLE_SIZE_CONST +_ACEOF +