summaryrefslogtreecommitdiffstats
path: root/libcxx/include/functional
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 /libcxx/include/functional
parentb21b479653fdd3adc350c15f1ee69b078f717024 (diff)
downloadbcm5719-llvm-c8e84ff25115ed0da2d6e3a81eac40712b467258.tar.gz
bcm5719-llvm-c8e84ff25115ed0da2d6e3a81eac40712b467258.zip
[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 'libcxx/include/functional')
-rw-r--r--libcxx/include/functional4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/functional b/libcxx/include/functional
index 80261895e6e..6b70f731e1c 100644
--- a/libcxx/include/functional
+++ b/libcxx/include/functional
@@ -2005,7 +2005,7 @@ namespace placeholders
template <int _Np> struct __ph {};
-#if defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_BIND)
+#if defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_LIBRARY)
_LIBCPP_FUNC_VIS extern const __ph<1> _1;
_LIBCPP_FUNC_VIS extern const __ph<2> _2;
_LIBCPP_FUNC_VIS extern const __ph<3> _3;
@@ -2027,7 +2027,7 @@ _LIBCPP_FUNC_VIS extern const __ph<10> _10;
/* _LIBCPP_INLINE_VAR */ constexpr __ph<8> _8{};
/* _LIBCPP_INLINE_VAR */ constexpr __ph<9> _9{};
/* _LIBCPP_INLINE_VAR */ constexpr __ph<10> _10{};
-#endif // defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_BIND)
+#endif // defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_LIBRARY)
} // placeholders
OpenPOWER on IntegriCloud