1. mirror
  2. redis

Commits

Pieter Noordhuis  committed 336dd92

Only include major.minor.patch for jemalloc version

  • Participants
  • Parent commits 935299a
  • Branches 2.2-jemalloc-static

Comments (0)

Files changed (1)

File src/zmalloc.h

View file
 #endif
 
 #elif defined(USE_JEMALLOC)
-#define ZMALLOC_LIB ("jemalloc-" JEMALLOC_VERSION)
+#define ZMALLOC_LIB ("jemalloc-" __xstr(JEMALLOC_VERSION_MAJOR) "." __xstr(JEMALLOC_VERSION_MINOR) "." __xstr(JEMALLOC_VERSION_BUGFIX))
 #define JEMALLOC_MANGLE
 #include <jemalloc/jemalloc.h>
 #if JEMALLOC_VERSION_MAJOR >= 2 && JEMALLOC_VERSION_MINOR >= 1