]> git.saurik.com Git - redis.git/blobdiff - deps/jemalloc/configure
Jemalloc updated to version 3.2.0.
[redis.git] / deps / jemalloc / configure
index 1d2b8beece04392fe538915e29ad501937df6651..0d7481291aa2f244daf7af6774cc7593fc08feb7 100755 (executable)
@@ -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
+