MoonchildProductions#1251 - Part 20: Add atomic.h to system-headers.

https://bugzilla.mozilla.org/show_bug.cgi?id=1369061

OpenIndiana used a much messier fix for this, but this one was used by Mozilla and looks a lot cleaner. It shouldn't interfere with any other targets, but if it does, the messy version of this fix basically involves rewriting the Solaris version of atomicops_internals_solaris.h to use GCC compiler intrinsics for atomic operations directly. It absolutely works, but it's gross to look at.

3b246b0b38/components/web/firefox/patches/01-FF43.0b3_OpenSXCE_x86_x64.patch

Another fix may be possible by preventing config/gcc-hidden.h from being included, or possibly using well-placed GCC pragmas to solve the visibility issues.
This commit is contained in:
athenian200 2019-10-04 04:35:10 -05:00 • committed by Roy Tam
commit 7a5928ca08

View file

@ -1,3 +1,4 @@
atomic.h
nspr.h
plarena.h
plarenas.h