Merge pull request #613 from pjohangustavsson/patch-2

swiglabels.swg: added check if __GNUC__ is defined
This commit is contained in:
Olly Betts 2016-02-16 22:48:09 +13:00
commit f401fd7360

View file

@ -65,9 +65,11 @@
#endif #endif
/* exporting methods */ /* exporting methods */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) #if defined(__GNUC__)
# ifndef GCC_HASCLASSVISIBILITY # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
# define GCC_HASCLASSVISIBILITY # ifndef GCC_HASCLASSVISIBILITY
# define GCC_HASCLASSVISIBILITY
# endif
# endif # endif
#endif #endif