diff options
| author | Louis Dionne <ldionne@apple.com> | 2018-08-01 02:08:59 +0000 |
|---|---|---|
| committer | Louis Dionne <ldionne@apple.com> | 2018-08-01 02:08:59 +0000 |
| commit | c8e84ff25115ed0da2d6e3a81eac40712b467258 (patch) | |
| tree | a68a8e35631c12c29ce1b5f6bd1f247a85960513 /libcxx/include/__mutex_base | |
| parent | b21b479653fdd3adc350c15f1ee69b078f717024 (diff) | |
| download | bcm5719-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/__mutex_base')
| -rw-r--r-- | libcxx/include/__mutex_base | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__mutex_base b/libcxx/include/__mutex_base index 402a52d945e..4659ca9298c 100644 --- a/libcxx/include/__mutex_base +++ b/libcxx/include/__mutex_base @@ -74,7 +74,7 @@ struct _LIBCPP_TYPE_VIS defer_lock_t {}; struct _LIBCPP_TYPE_VIS try_to_lock_t {}; struct _LIBCPP_TYPE_VIS adopt_lock_t {}; -#if defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_MUTEX) +#if defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_LIBRARY) extern const defer_lock_t defer_lock; extern const try_to_lock_t try_to_lock; |

