diff --git a/libs/libcommon/src/demangle.cpp b/libs/libcommon/src/demangle.cpp index eab8a55abe0..0a4a248261a 100644 --- a/libs/libcommon/src/demangle.cpp +++ b/libs/libcommon/src/demangle.cpp @@ -1,6 +1,6 @@ #include -#if _MSC_VER +#if _MSC_VER || (defined(__has_feature) && __has_feature(memory_sanitizer)) std::string demangle(const char * name, int & status) {