summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/include/condition_variable
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libc++/include/condition_variable')
-rw-r--r--contrib/libc++/include/condition_variable4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libc++/include/condition_variable b/contrib/libc++/include/condition_variable
index dc67266..1af2484 100644
--- a/contrib/libc++/include/condition_variable
+++ b/contrib/libc++/include/condition_variable
@@ -115,6 +115,8 @@ public:
#pragma GCC system_header
#endif
+#ifndef _LIBCPP_HAS_NO_THREADS
+
_LIBCPP_BEGIN_NAMESPACE_STD
class _LIBCPP_TYPE_VIS condition_variable_any
@@ -253,4 +255,6 @@ void notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk);
_LIBCPP_END_NAMESPACE_STD
+#endif // !_LIBCPP_HAS_NO_THREADS
+
#endif // _LIBCPP_CONDITION_VARIABLE
OpenPOWER on IntegriCloud