From afe6794bc2ee35880e970e7e9fcde6c2ad72b51b Mon Sep 17 00:00:00 2001 From: Jonathan Roelofs Date: Fri, 5 Sep 2014 20:28:44 +0000 Subject: Address some post-commit review comments on r217261 llvm-svn: 217276 --- libcxx/include/ios | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcxx/include/ios') 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 -#if __has_feature(cxx_atomic) && !_LIBCPP_HAS_NO_THREADS +#if __has_feature(cxx_atomic) && !defined(_LIBCPP_HAS_NO_THREADS) #include // 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 __xindex_; #else static int __xindex_; -- cgit v1.2.3