summaryrefslogtreecommitdiff
path: root/deps/jemalloc/configure
diff options
context:
space:
mode:
Diffstat (limited to 'deps/jemalloc/configure')
-rwxr-xr-xdeps/jemalloc/configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/jemalloc/configure b/deps/jemalloc/configure
index 1d2b8beec..0d7481291 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
+