summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxxabi/src/cxa_guard_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxxabi/src/cxa_guard_impl.h b/libcxxabi/src/cxa_guard_impl.h
index ea82d201331..412099e6f4e 100644
--- a/libcxxabi/src/cxa_guard_impl.h
+++ b/libcxxabi/src/cxa_guard_impl.h
@@ -257,6 +257,9 @@ struct LibcppCondVar {
private:
std::__libcpp_condvar_t cond = _LIBCPP_CONDVAR_INITIALIZER;
};
+#else
+struct LibcppMutex {};
+struct LibcppCondVar {};
#endif // !defined(_LIBCXXABI_HAS_NO_THREADS)
OpenPOWER on IntegriCloud