projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix ASAN build
[folly.git]
/
folly
/
memory
/
Malloc.h
diff --git
a/folly/memory/Malloc.h
b/folly/memory/Malloc.h
index e774dd0e907bffe80f1c473ac4ac872685906054..9eaf2c6ccec0f2777614262295924f32ed8d1dc9 100644
(file)
--- a/
folly/memory/Malloc.h
+++ b/
folly/memory/Malloc.h
@@
-144,10
+144,11
@@
namespace folly {
#define FOLLY_MALLOC_CHECKED_MALLOC
#endif
+#include <folly/CPortability.h>
/**
* Determine if we are using jemalloc or not.
*/
-#if
def USE_JEMALLOC
+#if
defined(USE_JEMALLOC) && !FOLLY_SANITIZE
inline bool usingJEMalloc() noexcept {
return true;
}