From 34372ae5d41ff0ae46e429b307d5d02d6698ad6a Mon Sep 17 00:00:00 2001 From: Caslyn Tonelli Date: Mon, 11 Nov 2024 13:18:53 -0800 Subject: [PATCH] [libc++] Amend error message Noticed this while debugging a few things following https://github.com/llvm/llvm-project/pull/112094. Amended error message to reflect conditional check. --- libcxx/include/__config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/include/__config b/libcxx/include/__config index a2a1aa2b2978d..9db00cd0c9fb9 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -858,7 +858,7 @@ typedef __char32_t char32_t; # endif # if !_LIBCPP_HAS_THREADS && _LIBCPP_HAS_THREAD_API_EXTERNAL -# error _LIBCPP_HAS_THREAD_API_EXTERNAL may not be true when _LIBCPP_HAS_THREADS is true. +# error _LIBCPP_HAS_THREAD_API_EXTERNAL may only be true when _LIBCPP_HAS_THREADS is true. # endif # if !_LIBCPP_HAS_MONOTONIC_CLOCK && _LIBCPP_HAS_THREADS