diff options
author | athenian200 <athenian200@outlook.com> | 2019-10-04 04:35:10 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2019-10-21 04:53:43 -0500 |
commit | db34ef993c3b0a25619ec56d98303933b61169bc (patch) | |
tree | 931b1655817eb00542653d30aed335914cde6be2 /image | |
parent | e51afbcc2fe7360bbcf5654f6e31752c48098ca0 (diff) | |
download | UXP-db34ef993c3b0a25619ec56d98303933b61169bc.tar UXP-db34ef993c3b0a25619ec56d98303933b61169bc.tar.gz UXP-db34ef993c3b0a25619ec56d98303933b61169bc.tar.lz UXP-db34ef993c3b0a25619ec56d98303933b61169bc.tar.xz UXP-db34ef993c3b0a25619ec56d98303933b61169bc.zip |
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.
https://github.com/OpenIndiana/oi-userland/blob/3b246b0b385735b092a88f58f9baa9799ee34761/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.
Diffstat (limited to 'image')
0 files changed, 0 insertions, 0 deletions