USE_JEMALLOC in the OSS build if we have jemalloc
[folly.git] / folly / portability / Malloc.cpp
index 9baecb38e226fddbac7227fe3fbf4bd7ef0f71e2..d9bdf989ae37519a4da64476e58be4fabf3a1892 100755 (executable)
@@ -16,7 +16,7 @@
 
 #include <folly/portability/Malloc.h>
 
-#ifndef USE_JEMALLOC
+#if !defined(USE_JEMALLOC) && !defined(FOLLY_USE_JEMALLOC)
 #if defined(__APPLE__) && !defined(FOLLY_HAVE_MALLOC_USABLE_SIZE)
 #include <malloc/malloc.h>