git: 6454c6e82590 - stable/14 - lib/clang: Fix bootstrapping on macOS after LLVM 21 merge

Jessica Clarke <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a74ccc6.335ea.1d603fcf__24187.9636350617$1786039513$gmane$org@gitrepo.freebsd.org>
The branch stable/14 has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=6454c6e825902039c8083626ef728d2deea7992f

commit 6454c6e825902039c8083626ef728d2deea7992f
Author:     Jessica Clarke <[email protected]>
AuthorDate: 2026-05-01 16:55:28 +0000
Commit:     Jessica Clarke <[email protected]>
CommitDate: 2026-08-06 18:03:48 +0000

    lib/clang: Fix bootstrapping on macOS after LLVM 21 merge
    
    Fixes:          770cf0a5f02d ("Fixups after llvm-project main llvmorg-21-init-19288-gface93e724f4 merge")
    MFC after:      1 month
    
    (cherry picked from commit 50bd6ee0cce9d3959828b0267b06ea0403781f41)
---
 lib/clang/include/llvm/Config/config.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index 0aea32fa9dce..c11e78f74caf 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -114,12 +114,12 @@
 #define HAVE_PTHREAD_SETNAME_NP 1
 
 /* Define to 1 if you have the `pthread_get_name_np' function. */
-#if !defined(__linux__)
+#if defined(__FreeBSD__)
 #define HAVE_PTHREAD_GET_NAME_NP 1
 #endif
 
 /* Define to 1 if you have the `pthread_set_name_np' function. */
-#if !defined(__linux__)
+#if defined(__FreeBSD__)
 #define HAVE_PTHREAD_SET_NAME_NP 1
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.