mirror of
https://github.com/yawut/SDL.git
synced 2026-08-12 12:05:32 -05:00
Only use the visibility attribute in gcc 4.0 or newer
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
# define DECLSPEC
|
||||
# endif
|
||||
# else
|
||||
# if defined(__GNUC__)
|
||||
# if defined(__GNUC__) && __GNUC__ >= 4
|
||||
# define DECLSPEC __attribute__ ((visibility("default")))
|
||||
# else
|
||||
# define DECLSPEC
|
||||
|
||||
Reference in New Issue
Block a user