diff options
Diffstat (limited to 'Sluift')
-rw-r--r-- | Sluift/sluift.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Sluift/sluift.h b/Sluift/sluift.h index 4e0f5ee..b82e1c4 100644 --- a/Sluift/sluift.h +++ b/Sluift/sluift.h @@ -8,6 +8,8 @@ #if defined(SLUIFT_BUILD_DLL) #define SLUIFT_API __declspec(dllexport) +#elif __GNUC__ >= 4 +#define SLUIFT_API __attribute__((visibility("default"))) #else #define SLUIFT_API #endif |