X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmlt%2B%2B%2Fconfig.h;h=4900fe6e5ea6da55eef925c9ab1b174a3135c893;hb=fa2574c4baf7394ce628eb38cffec915e8193627;hp=f25c66bd7a4c6ed71df4e18c7f8c54ce89371afc;hpb=2027a87d227ee80413745b5ac3ccb39fd86d6fdc;p=mlt diff --git a/src/mlt++/config.h b/src/mlt++/config.h index f25c66bd..4900fe6e 100644 --- a/src/mlt++/config.h +++ b/src/mlt++/config.h @@ -28,7 +28,11 @@ #define MLTPP_DECLSPEC __declspec( dllimport ) #endif #else - #define MLTPP_DECLSPEC + #if __GNUC__ >= 4 + #define MLTPP_DECLSPEC __attribute__ ((visibility ("default"))) + #else + #define MLTPP_DECLSPEC + #endif #endif #endif