diff --git a/mojibake.h b/mojibake.h index abebbeb..03069b6 100644 --- a/mojibake.h +++ b/mojibake.h @@ -81,6 +81,8 @@ enum {false, true}; # else # define DLLEXPORT __declspec(dllimport) # endif +#elif __GNUC__ >= 4 +# define DLLEXPORT __attribute__ ((visibility("default"))) #else # define DLLEXPORT #endif