summaryrefslogtreecommitdiffstats
path: root/libcxx/src/thread.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-05-10 21:40:58 +0000
committerEric Fiselier <eric@efcs.ca>2017-05-10 21:40:58 +0000
commit0c6e7ae4cc8039af611d7a5cf153d9bb7664f3e2 (patch)
tree3ff6890c161d16523d9d6b3b71b32657a750a976 /libcxx/src/thread.cpp
parentabea18feba27b9121593c886ae0c0597e8f658e3 (diff)
downloadbcm5719-llvm-0c6e7ae4cc8039af611d7a5cf153d9bb7664f3e2.tar.gz
bcm5719-llvm-0c6e7ae4cc8039af611d7a5cf153d9bb7664f3e2.zip
Remove usages of _LIBCPP_MSVC which is never defined
llvm-svn: 302736
Diffstat (limited to 'libcxx/src/thread.cpp')
-rw-r--r--libcxx/src/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/thread.cpp b/libcxx/src/thread.cpp
index 3f283c385b7..412a8fa0a62 100644
--- a/libcxx/src/thread.cpp
+++ b/libcxx/src/thread.cpp
@@ -99,7 +99,7 @@ thread::hardware_concurrency() _NOEXCEPT
#else // defined(CTL_HW) && defined(HW_NCPU)
// TODO: grovel through /proc or check cpuid on x86 and similar
// instructions on other architectures.
-# if defined(_LIBCPP_MSVC)
+# if defined(_LIBCPP_WARNING)
_LIBCPP_WARNING("hardware_concurrency not yet implemented")
# else
# warning hardware_concurrency not yet implemented
OpenPOWER on IntegriCloud