summaryrefslogtreecommitdiff
path: root/dom/plugins/base/npfunctions.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-03-02 21:23:45 +0000
committerMoonchild <moonchild@palemoon.org>2022-03-02 21:23:45 +0000
commit5fe31b024217a7057db60c52d8fb535cc2bc05a3 (patch)
tree1d8272b66c35248b34d2df6f172c10a9ed1c57d3 /dom/plugins/base/npfunctions.h
parent39e80ed9afe2e5bba65a2786c7eff7c3189d49e8 (diff)
parent872bfa373ddfc184e17caf1ba38dbb02ed9c37f0 (diff)
downloadGRE-5fe31b024217a7057db60c52d8fb535cc2bc05a3.tar.gz
Merge branch 'remove-hacks'
Diffstat (limited to 'dom/plugins/base/npfunctions.h')
-rw-r--r--dom/plugins/base/npfunctions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/plugins/base/npfunctions.h b/dom/plugins/base/npfunctions.h
index 7638a6488..83c8a9762 100644
--- a/dom/plugins/base/npfunctions.h
+++ b/dom/plugins/base/npfunctions.h
@@ -189,8 +189,8 @@ typedef struct _NPNetscapeFuncs {
#endif
#if defined(XP_UNIX)
-/* GCC 3.3 and later support the visibility attribute. */
-#if defined(__GNUC__) && ((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
+/* GCC supports the visibility attribute. */
+#if defined(__GNUC__)
#define NP_VISIBILITY_DEFAULT __attribute__((visibility("default")))
#elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
#define NP_VISIBILITY_DEFAULT __global