Page MenuHomeFreeBSD

jemalloc: avoid clash with C23 unreachable() macro
ClosedPublic

Authored by fuz on Thu, Nov 27, 10:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 4, 7:06 AM
Unknown Object (File)
Thu, Dec 4, 2:27 AM
Unknown Object (File)
Wed, Dec 3, 7:00 PM
Unknown Object (File)
Wed, Dec 3, 1:12 AM
Unknown Object (File)
Fri, Nov 28, 11:10 PM
Subscribers
None

Details

Summary

This avoids a clash with the new macro in <stddef.h> introduced in D53967

Test Plan

buildworld runs fine with this change.

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 68905
Build 65788: arc lint + arc unit

Event Timeline

fuz requested review of this revision.Thu, Nov 27, 10:17 PM
fuz created this revision.

Ideally, you'd upstream this too...

This revision is now accepted and ready to land.Thu, Nov 27, 10:44 PM

Do we still need to maintain contrib/jemalloc/FREEBSD-diffs?

Do we still need to maintain contrib/jemalloc/FREEBSD-diffs?

No. If it's still there i should delete it.

Approved

In D53968#1233240, @imp wrote:

Do we still need to maintain contrib/jemalloc/FREEBSD-diffs?

No. If it's still there i should delete it.

It's still there.