summaryrefslogtreecommitdiff
path: root/include/new
diff options
context:
space:
mode:
Diffstat (limited to 'include/new')
-rw-r--r--include/new4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/new b/include/new
index 442e113665dd..6589f16b7a16 100644
--- a/include/new
+++ b/include/new
@@ -92,8 +92,6 @@ void operator delete[](void* ptr, void*) noexcept;
#include <cstdlib>
#endif
-#include <__undef___deallocate>
-
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
#endif
@@ -217,7 +215,7 @@ inline _LIBCPP_INLINE_VISIBILITY void *__allocate(size_t __size) {
#endif
}
-inline _LIBCPP_INLINE_VISIBILITY void __deallocate(void *__ptr) {
+inline _LIBCPP_INLINE_VISIBILITY void __libcpp_deallocate(void *__ptr) {
#ifdef _LIBCPP_HAS_NO_BUILTIN_OPERATOR_NEW_DELETE
::operator delete(__ptr);
#else