diff options
| author | Jessica Clarke <jrtc27@FreeBSD.org> | 2026-05-01 16:55:28 +0000 |
|---|---|---|
| committer | Jessica Clarke <jrtc27@FreeBSD.org> | 2026-05-01 16:55:28 +0000 |
| commit | 50bd6ee0cce9d3959828b0267b06ea0403781f41 (patch) | |
| tree | 16c9a02f25e9c8e02a8e2082e3e00a1e774963eb | |
| parent | c64ee36e5d09ecee4ce4951047014c8461734fb5 (diff) | |
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
| -rw-r--r-- | lib/clang/include/llvm/Config/config.h | 4 |
1 files 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 |
