summaryrefslogtreecommitdiff
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
commitd5a11bcf9309c2455c169ab0b494c10852c86080 (patch)
tree4776f7513305cb6005df93520354d66d81fe2b3d
parent3c6231f5a0b6b51be9d10397a9c00c7401ca0c8b (diff)
downloadlibcxxabi-d5a11bcf9309c2455c169ab0b494c10852c86080.tar.gz
[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 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@338475 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--src/stdlib_exception.cpp1
-rw-r--r--src/stdlib_new_delete.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/stdlib_exception.cpp b/src/stdlib_exception.cpp
index a8f71ab..6c09102 100644
--- a/src/stdlib_exception.cpp
+++ b/src/stdlib_exception.cpp
@@ -8,7 +8,6 @@
//===----------------------------------------------------------------------===//
#define _LIBCPP_BUILDING_LIBRARY
-#define _LIBCPP_BUILDING_NEW
#include <new>
#include <exception>
diff --git a/src/stdlib_new_delete.cpp b/src/stdlib_new_delete.cpp
index 0e85f6a..686ad07 100644
--- a/src/stdlib_new_delete.cpp
+++ b/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>