Improve error message when _LIBCPP_HAS_NO_MONOTONIC_CLOCK is used improperly
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@223590 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
93cfd7fc4e
commit
a245f9b263
@ -713,4 +713,9 @@ extern "C" void __sanitizer_annotate_contiguous_container(
|
|||||||
# define _LIBCPP_WEAK __attribute__((__weak__))
|
# define _LIBCPP_WEAK __attribute__((__weak__))
|
||||||
#endif
|
#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
|
#endif // _LIBCPP_CONFIG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user