[Bug 283492] Please rename the "mb" macro in /usr/include/machine/atomic.h on arm7 to prevent collisions with mb variables in various projects

[email protected] Wed, 15 Jul 2026 09:45:19 +0000
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283492

--- Comment #7 from Robert Clausecker <[email protected]> ---
Apparently JUCE includes <sys/user.h> in juce_BasicNativeHeaders.h, which then
pulls <machine/atomic.h> transitively.

The include seems to be required only in juce_SystemStats_linux.cpp for struct
kproc_info (which unfortunately might just be the one thing really needing
<machine/atomic.h>).

I'll try to work around this by including <sys/user.h> in
juce_SystemStats_linux.cpp directly.

-- 
You are receiving this mail because:
You are the assignee for the bug.