Remove GCC 4 workaround

This commit is contained in:
Chris Thrasher 2022-01-20 23:39:31 -07:00 committed by Lukas Dürrenberger
parent a322d18e63
commit 052e624ddf

View File

@ -148,21 +148,9 @@
#else // Linux, FreeBSD, Mac OS X #else // Linux, FreeBSD, Mac OS X
#if __GNUC__ >= 4
// GCC 4 has special keywords for showing/hidding symbols,
// the same keyword is used for both importing and exporting
#define SFML_API_EXPORT __attribute__ ((__visibility__ ("default"))) #define SFML_API_EXPORT __attribute__ ((__visibility__ ("default")))
#define SFML_API_IMPORT __attribute__ ((__visibility__ ("default"))) #define SFML_API_IMPORT __attribute__ ((__visibility__ ("default")))
#else
// GCC < 4 has no mechanism to explicitely hide symbols, everything's exported
#define SFML_API_EXPORT
#define SFML_API_IMPORT
#endif
#endif #endif
#else #else