summaryrefslogtreecommitdiff
path: root/libcxxabi
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2018-08-01 02:08:59 +0000
committerLouis Dionne <ldionne@apple.com>2018-08-01 02:08:59 +0000
commit7c231eec569625231c73c073f18865153d0e8ad7 (patch)
tree2a388cec55aa97e08b735a76b8a073794759d43c /libcxxabi
parent8ae3a558c5becf7ba493735750d0a3b444398469 (diff)
[libc++] Remove _LIBCPP_BUILDING_XXX macros, which are redundant since _LIBCPP_BUILDING_LIBRARY
Summary: As suggested by Marshall in https://reviews.llvm.org/D49914 Reviewers: mclow.lists, EricWF Subscribers: christof, dexonsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D50008
Diffstat (limited to 'libcxxabi')
-rw-r--r--libcxxabi/src/stdlib_exception.cpp1
-rw-r--r--libcxxabi/src/stdlib_new_delete.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/libcxxabi/src/stdlib_exception.cpp b/libcxxabi/src/stdlib_exception.cpp
index a8f71ab0ecc..6c0910267d4 100644
--- a/libcxxabi/src/stdlib_exception.cpp
+++ b/libcxxabi/src/stdlib_exception.cpp
@@ -8,7 +8,6 @@
//===----------------------------------------------------------------------===//
#define _LIBCPP_BUILDING_LIBRARY
-#define _LIBCPP_BUILDING_NEW
#include <new>
#include <exception>
diff --git a/libcxxabi/src/stdlib_new_delete.cpp b/libcxxabi/src/stdlib_new_delete.cpp
index 0e85f6ad299..686ad07ccd5 100644
--- a/libcxxabi/src/stdlib_new_delete.cpp
+++ b/libcxxabi/src/stdlib_new_delete.cpp
@@ -9,7 +9,6 @@
// This file implements the new and delete operators.
//===----------------------------------------------------------------------===//
-#define _LIBCPP_BUILDING_NEW
#define _LIBCPP_BUILDING_LIBRARY
#include "__cxxabi_config.h"
#include <new>