summaryrefslogtreecommitdiffstats
path: root/libcxx/src/ios.cpp
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2014-09-05 20:28:44 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2014-09-05 20:28:44 +0000
commitafe6794bc2ee35880e970e7e9fcde6c2ad72b51b (patch)
tree650d5a150f0d3ff90f77bae7c8c9306e841c19b2 /libcxx/src/ios.cpp
parentbb1c918ec85f24457a4aeb47a08683df34063916 (diff)
downloadbcm5719-llvm-afe6794bc2ee35880e970e7e9fcde6c2ad72b51b.tar.gz
bcm5719-llvm-afe6794bc2ee35880e970e7e9fcde6c2ad72b51b.zip
Address some post-commit review comments on r217261
llvm-svn: 217276
Diffstat (limited to 'libcxx/src/ios.cpp')
-rw-r--r--libcxx/src/ios.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/ios.cpp b/libcxx/src/ios.cpp
index 0bd500bf3c2..06426c7b604 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<int> ios_base::__xindex_ = ATOMIC_VAR_INIT(0);
#else
int ios_base::__xindex_ = 0;
OpenPOWER on IntegriCloud