Use #if rather than #ifdef for FOLLY_HAVE_WEAK_SYMBOLS
[folly.git] / folly / detail / Malloc.cpp
index 64d30b544dd61d300365d7ef492b30a528e4992a..9882dd84c0bce0d06f1ee73d99a7f03a47905557 100644 (file)
@@ -18,7 +18,7 @@
 
 extern "C" {
 
-#ifndef FOLLY_HAVE_WEAK_SYMBOLS
+#if !FOLLY_HAVE_WEAK_SYMBOLS
 int (*rallocm)(void**, size_t*, size_t, size_t, int) = nullptr;
 int (*allocm)(void**, size_t*, size_t, int) = nullptr;
 #endif