summaryrefslogtreecommitdiff
path: root/src/thread.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-16 19:47:31 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-16 19:47:31 +0000
commit7582e3938bb9fb3e4664efdfb2313df29f27b70b (patch)
tree65bec6df3984fb0b437488fd86eb1359e9c84af4 /src/thread.cpp
parent733153a0fb52facba02c550ec849f0c734dfa412 (diff)
Notes
Diffstat (limited to 'src/thread.cpp')
-rw-r--r--src/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.cpp b/src/thread.cpp
index 3f283c385b76..412a8fa0a620 100644
--- a/src/thread.cpp
+++ b/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