summaryrefslogtreecommitdiff
path: root/Lib/swiglabels.swg
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2006-03-01 08:08:51 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2006-03-01 08:08:51 +0000
commit4ed49d7f2c90a3b1ab6cdd060bae5aa2fd7d91a8 (patch)
treebaa764fcef412e1e23daa5f36da9f272a5bf96e2 /Lib/swiglabels.swg
parentea220fbfd752ae79ef5d7c7b3b705fd545ccedce (diff)
downloadswig-4ed49d7f2c90a3b1ab6cdd060bae5aa2fd7d91a8.tar.gz
the visibility attribute also works with gcc3.4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/swiglabels.swg')
-rw-r--r--Lib/swiglabels.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/swiglabels.swg b/Lib/swiglabels.swg
index 531a2d700..1c606b6e8 100644
--- a/Lib/swiglabels.swg
+++ b/Lib/swiglabels.swg
@@ -62,7 +62,7 @@
#endif
/* exporting methods */
-#if (__GNUC__ >= 4)
+#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
# ifndef GCC_HASCLASSVISIBILITY
# define GCC_HASCLASSVISIBILITY
# endif