Skip to content

Commit 34372ae

Browse files
committed
[libc++] Amend error message
Noticed this while debugging a few things following #112094. Amended error message to reflect conditional check.
1 parent da78ac5 commit 34372ae

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)