Only use the visibility attribute in gcc 4.0 or newer

This commit is contained in:
Sam Lantinga 2006-03-23 07:34:03 +00:00
parent ebfefa19a9
commit 5542688e36

View File

@ -60,7 +60,7 @@
# define DECLSPEC
# endif
# else
# if defined(__GNUC__)
# if defined(__GNUC__) && __GNUC__ >= 4
# define DECLSPEC __attribute__ ((visibility("default")))
# else
# define DECLSPEC