summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2019-10-04 04:35:10 -0500
committerathenian200 <athenian200@outlook.com>2019-10-21 04:53:43 -0500
commitdb34ef993c3b0a25619ec56d98303933b61169bc (patch)
tree931b1655817eb00542653d30aed335914cde6be2 /config
parente51afbcc2fe7360bbcf5654f6e31752c48098ca0 (diff)
downloadUXP-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 'config')
-rw-r--r--config/system-headers1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/system-headers b/config/system-headers
index 683c9d337..b4f901792 100644
--- a/config/system-headers
+++ b/config/system-headers
@@ -1,3 +1,4 @@
+atomic.h
nspr.h
plarena.h
plarenas.h