The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/src/commit/?id=04d000a378b04bca1aff4a1cc3d74f5c9c5368b9
commit 04d000a378b04bca1aff4a1cc3d74f5c9c5368b9 Author: Robert Clausecker <[email protected]> AuthorDate: 2025-11-27 21:59:12 +0000 Commit: Robert Clausecker <[email protected]> CommitDate: 2025-11-28 15:55:05 +0000 jemalloc: avoid clash with C23 unreachable() macro Summary: This avoids a clash with the new macro in <stddef.h> introduced in D53967 Reviewed by: imp Approved by: markj (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D53968 --- contrib/jemalloc/include/jemalloc/internal/util.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/jemalloc/include/jemalloc/internal/util.h b/contrib/jemalloc/include/jemalloc/internal/util.h index dcb1c0a5d62b..da84b09d0132 100644 --- a/contrib/jemalloc/include/jemalloc/internal/util.h +++ b/contrib/jemalloc/include/jemalloc/internal/util.h @@ -40,6 +40,9 @@ # error JEMALLOC_INTERNAL_UNREACHABLE should have been defined by configure #endif +#ifdef unreachable +# undef unreachable +#endif #define unreachable() JEMALLOC_INTERNAL_UNREACHABLE() /* Set error code. */
