diff --git a/dbms/src/Common/MemoryAllocTrace.cpp b/dbms/src/Common/MemoryAllocTrace.cpp index 0a54a2aba40..51dbbd33adb 100644 --- a/dbms/src/Common/MemoryAllocTrace.cpp +++ b/dbms/src/Common/MemoryAllocTrace.cpp @@ -15,7 +15,7 @@ #include #include // Included for `USE_JEMALLOC` -#ifdef USE_JEMALLOC +#if USE_JEMALLOC #include #endif @@ -23,7 +23,7 @@ namespace DB { std::tuple getAllocDeallocPtr() { -#ifdef USE_JEMALLOC +#if USE_JEMALLOC uint64_t * ptr1 = nullptr; uint64_t size1 = sizeof ptr1; je_mallctl("thread.allocatedp", reinterpret_cast(&ptr1), &size1, nullptr, 0);