Skip to content

Commit d614684

Browse files
CaslynGroverkss
authored andcommitted
[libc++] Amend error message for _LIBCPP_HAS_THREAD_API_EXTERNAL (llvm#115774)
Noticed this while debugging a few things following llvm#112094. Amended error message to reflect conditional check.
1 parent 2ff8bb6 commit d614684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ typedef __char32_t char32_t;
858858
# endif
859859

860860
# if !_LIBCPP_HAS_THREADS && _LIBCPP_HAS_THREAD_API_EXTERNAL
861-
# error _LIBCPP_HAS_THREAD_API_EXTERNAL may not be true when _LIBCPP_HAS_THREADS is true.
861+
# error _LIBCPP_HAS_THREAD_API_EXTERNAL may only be true when _LIBCPP_HAS_THREADS is true.
862862
# endif
863863

864864
# if !_LIBCPP_HAS_MONOTONIC_CLOCK && _LIBCPP_HAS_THREADS

0 commit comments

Comments
 (0)