summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__config
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/__config')
-rw-r--r--libcxx/include/__config5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index b75176c8804..2eb9e55f9c1 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -650,6 +650,11 @@ template <unsigned> struct __static_assert_check {};
# define _LIBCPP_TRIVIAL_PAIR_COPY_CTOR 1
#endif
+#if (!defined(_POSIX_TIMERS) || _POSIX_TIMERS <= 0) || \
+ (!defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK <= 0)
+#define _LIBCPP_HAS_NO_MONOTONIC_CLOCK
+#endif
+
#ifndef _LIBCPP_STD_VER
# if __cplusplus <= 201103L
# define _LIBCPP_STD_VER 11
OpenPOWER on IntegriCloud