mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-17 14:47:19 +01:00
Fix fallback define for DECLSPEC for non-Windows platforms.
Looks like it was a copy/paste error? GCC doesn't support visibility attributes until gcc4, so just make it blank. Fixes Bugzilla #2720.
This commit is contained in:
parent
59f69f6317
commit
a21672c893
@ -64,8 +64,6 @@
|
||||
# else
|
||||
# if defined(__GNUC__) && __GNUC__ >= 4
|
||||
# define DECLSPEC __attribute__ ((visibility("default")))
|
||||
# elif defined(__GNUC__) && __GNUC__ >= 2
|
||||
# define DECLSPEC __declspec(dllexport)
|
||||
# else
|
||||
# define DECLSPEC
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user