summaryrefslogtreecommitdiff
path: root/libcxxabi/src/stdlib_new_delete.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-10-30 19:11:23 +0200
committerMartin Storsjö <martin@martin.st>2020-11-03 09:32:52 +0200
commit9c30bafd59bf1078bbe1c235c7c25bf7e278e2e9 (patch)
tree02ae63197ff5f751e33e86d30d92fb753c880301 /libcxxabi/src/stdlib_new_delete.cpp
parent7a5184ed951ad38d652d7b3c339f4c6ae7842eeb (diff)
[libcxxabi] Build all of libcxxabi with _LIBCPP_BUILDING_LIBRARY defined
Various definitions from libcxx need to be set in the same way as if building libcxx itself. Differential Revision: https://reviews.llvm.org/D90476
Diffstat (limited to 'libcxxabi/src/stdlib_new_delete.cpp')
-rw-r--r--libcxxabi/src/stdlib_new_delete.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxxabi/src/stdlib_new_delete.cpp b/libcxxabi/src/stdlib_new_delete.cpp
index 698c5f7c290c..58f181eb357f 100644
--- a/libcxxabi/src/stdlib_new_delete.cpp
+++ b/libcxxabi/src/stdlib_new_delete.cpp
@@ -8,7 +8,6 @@
// This file implements the new and delete operators.
//===----------------------------------------------------------------------===//
-#define _LIBCPP_BUILDING_LIBRARY
#include "__cxxabi_config.h"
#include <new>
#include <cstdlib>