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/src/ios.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/src/ios.cpp') diff --git a/libcxx/src/ios.cpp b/libcxx/src/ios.cpp index 0bd500b..06426c7 100644 --- a/libcxx/src/ios.cpp +++ b/libcxx/src/ios.cpp @@ -148,7 +148,7 @@ ios_base::getloc() const } // xalloc -#if __has_feature(cxx_atomic) && !_LIBCPP_HAS_NO_THREADS +#if __has_feature(cxx_atomic) && !defined(_LIBCPP_HAS_NO_THREADS) atomic ios_base::__xindex_ = ATOMIC_VAR_INIT(0); #else int ios_base::__xindex_ = 0; -- cgit v1.1