diff options
| author | joerg <joerg@NetBSD.org> | 2015-08-20 09:31:47 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2015-08-20 09:31:47 +0000 |
| commit | b2e8b4bcac1662c35cd7d38149be011d22d4fa3a (patch) | |
| tree | e940ceb6c9e0446048768f5637a659d3ff0c74ba /external/bsd/libc++/dist/libcxx/src/condition_variable.cpp | |
| parent | b8c252c8fd23d42032d89f7d220628592ca94935 (diff) | |
Import libc++ r245547. Various bugfixes, improvements to the C++14
support and some experimental features from the library standard track.
Diffstat (limited to 'external/bsd/libc++/dist/libcxx/src/condition_variable.cpp')
| -rw-r--r-- | external/bsd/libc++/dist/libcxx/src/condition_variable.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/external/bsd/libc++/dist/libcxx/src/condition_variable.cpp b/external/bsd/libc++/dist/libcxx/src/condition_variable.cpp index 061d1388d3e..5fd5fc891c1 100644 --- a/external/bsd/libc++/dist/libcxx/src/condition_variable.cpp +++ b/external/bsd/libc++/dist/libcxx/src/condition_variable.cpp @@ -7,6 +7,10 @@ // //===----------------------------------------------------------------------===// +#include "__config" + +#ifndef _LIBCPP_HAS_NO_THREADS + #include "condition_variable" #include "thread" #include "system_error" @@ -79,3 +83,5 @@ notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk) } _LIBCPP_END_NAMESPACE_STD + +#endif // !_LIBCPP_HAS_NO_THREADS |
