diff options
author | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-09-05 20:28:44 +0000 |
---|---|---|
committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-09-05 20:28:44 +0000 |
commit | afe6794bc2ee35880e970e7e9fcde6c2ad72b51b (patch) | |
tree | 650d5a150f0d3ff90f77bae7c8c9306e841c19b2 /libcxx/include/ios | |
parent | bb1c918ec85f24457a4aeb47a08683df34063916 (diff) | |
download | bcm5719-llvm-afe6794bc2ee35880e970e7e9fcde6c2ad72b51b.tar.gz bcm5719-llvm-afe6794bc2ee35880e970e7e9fcde6c2ad72b51b.zip |
Address some post-commit review comments on r217261
llvm-svn: 217276
Diffstat (limited to 'libcxx/include/ios')
-rw-r--r-- | libcxx/include/ios | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/ios b/libcxx/include/ios index 6d426079d4f..ff79998b0bb 100644 --- a/libcxx/include/ios +++ b/libcxx/include/ios @@ -216,7 +216,7 @@ storage-class-specifier const error_category& iostream_category() noexcept; #include <__locale> #include <system_error> -#if __has_feature(cxx_atomic) && !_LIBCPP_HAS_NO_THREADS +#if __has_feature(cxx_atomic) && !defined(_LIBCPP_HAS_NO_THREADS) #include <atomic> // for __xindex_ #endif @@ -367,7 +367,7 @@ private: int* __index_; size_t __event_size_; size_t __event_cap_; -#if __has_feature(cxx_atomic) && !_LIBCPP_HAS_NO_THREADS +#if __has_feature(cxx_atomic) && !defined(_LIBCPP_HAS_NO_THREADS) static atomic<int> __xindex_; #else static int __xindex_; |