diff options
| -rw-r--r-- | libcxx/include/__config | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index df0bb77c04d..8fd80bcb713 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -713,4 +713,9 @@ extern "C" void __sanitizer_annotate_contiguous_container( # define _LIBCPP_WEAK __attribute__((__weak__)) #endif +#if defined(_LIBCPP_HAS_NO_MONOTONIC_CLOCK) && !defined(_LIBCPP_HAS_NO_THREADS) +# error _LIBCPP_HAS_NO_MONOTONIC_CLOCK may only be defined when \ + _LIBCPP_HAS_NO_THREADS is defined. +#endif + #endif // _LIBCPP_CONFIG |

