forked from OSchip/llvm-project
Improve error message when _LIBCPP_HAS_NO_MONOTONIC_CLOCK is used improperly
llvm-svn: 223590
This commit is contained in:
parent
3280a5d9f5
commit
2050bedf03
|
@ -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…
Reference in New Issue