summaryrefslogtreecommitdiff
path: root/src/memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/memory.cpp')
-rw-r--r--src/memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memory.cpp b/src/memory.cpp
index c56d031ad..8a4eb3481 100644
--- a/src/memory.cpp
+++ b/src/memory.cpp
@@ -111,7 +111,7 @@ __shared_weak_count::lock() _NOEXCEPT
return 0;
}
-#ifndef _LIBCPP_NO_RTTI
+#if !defined(_LIBCPP_NO_RTTI) || !defined(_LIBCPP_BUILD_STATIC)
const void*
__shared_weak_count::__get_deleter(const type_info&) const _NOEXCEPT