From 052e624ddf90d0af7bf305eaa98087f624bd13a1 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Thu, 20 Jan 2022 23:39:31 -0700 Subject: [PATCH] Remove GCC 4 workaround --- include/SFML/Config.hpp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/include/SFML/Config.hpp b/include/SFML/Config.hpp index e9f6de79..4ae3a59e 100644 --- a/include/SFML/Config.hpp +++ b/include/SFML/Config.hpp @@ -148,20 +148,8 @@ #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_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 + #define SFML_API_EXPORT __attribute__ ((__visibility__ ("default"))) + #define SFML_API_IMPORT __attribute__ ((__visibility__ ("default"))) #endif