summaryrefslogtreecommitdiff
path: root/deps/jemalloc/configure
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2012-11-28 18:39:35 +0100
committerantirez <antirez@gmail.com>2012-11-28 18:39:35 +0100
commit7383c3b12920c6ae20f7c64c5db92f59e2b02aa5 (patch)
treeb7d32af471dcaa47435006277702c814adaaf7ac /deps/jemalloc/configure
parentdee0b939fcd6650edfd8705f0685cd8430750085 (diff)
downloadredis-7383c3b12920c6ae20f7c64c5db92f59e2b02aa5.tar.gz
Jemalloc updated to version 3.2.0.
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
+