blob: a741c3b3bbbb6a4d6357941e8fb15c7f5b761547 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Index: mozilla/nsprpub/pr/include/prtypes.h
diff -u mozilla/nsprpub/pr/include/prtypes.h:3.30 mozilla/nsprpub/pr/include/prtypes.h:3.30.2.1
--- mozilla/nsprpub/pr/include/prtypes.h:3.30 Fri Apr 29 21:02:54 2005
+++ mozilla/nsprpub/pr/include/prtypes.h Tue Jan 3 17:43:35 2006
@@ -178,7 +178,9 @@
#else /* Unix */
-#ifdef HAVE_VISIBILITY_PRAGMA
+/* GCC 3.3 and later support the visibility attribute. */
+#if (__GNUC__ >= 4) || \
+ (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
#define PR_VISIBILITY_DEFAULT __attribute__((visibility("default")))
#else
#define PR_VISIBILITY_DEFAULT
|