From 4d0c22d8ec5d530de8ba4997da98dfc5da8344cf Mon Sep 17 00:00:00 2001 From: c9s Date: Wed, 21 May 2014 23:14:19 +0800 Subject: [PATCH] fix linking issue --- include/zmalloc.h | 2 ++ tests/bench_str.csv | 1 + 2 files changed, 3 insertions(+) diff --git a/include/zmalloc.h b/include/zmalloc.h index 383f377..c8ef195 100644 --- a/include/zmalloc.h +++ b/include/zmalloc.h @@ -48,12 +48,14 @@ #elif defined(USE_JEMALLOC) #define ZMALLOC_LIB ("jemalloc-" __xstr(JEMALLOC_VERSION_MAJOR) "." __xstr(JEMALLOC_VERSION_MINOR) "." __xstr(JEMALLOC_VERSION_BUGFIX)) #include +/* #if (JEMALLOC_VERSION_MAJOR == 2 && JEMALLOC_VERSION_MINOR >= 1) || (JEMALLOC_VERSION_MAJOR > 2) #define HAVE_MALLOC_SIZE 1 #define zmalloc_size(p) je_malloc_usable_size(p) #else #error "Newer version of jemalloc required" #endif +*/ #elif defined(__APPLE__) #include diff --git a/tests/bench_str.csv b/tests/bench_str.csv index 61887e0..e8dd1f9 100644 --- a/tests/bench_str.csv +++ b/tests/bench_str.csv @@ -441,3 +441,4 @@ 1400659046,19754150.71 1400668268,13174604.57 1400668574,13632260.72 +1400681414,10832905.89