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
This commit is contained in:
Marcelo Matus 2006-03-01 08:08:51 +00:00
commit 4ed49d7f2c

View file

@ -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