aboutsummaryrefslogtreecommitdiff
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
commitc8e84ff25115ed0da2d6e3a81eac40712b467258 (patch)
treea68a8e35631c12c29ce1b5f6bd1f247a85960513 /libcxxabi
parentb21b479653fdd3adc350c15f1ee69b078f717024 (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 llvm-svn: 338475
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 a8f71ab0ecc7..6c0910267d4f 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 0e85f6ad299e..686ad07ccd52 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>