override -fvisibility=hidden for the LV2plugin descriptor

This commit is contained in:
Robin Gareus 2014-01-17 16:10:03 +01:00
parent 3ebd42b873
commit 7418c12a5b

View File

@ -199,7 +199,11 @@ static const LV2_Descriptor descriptor = {
extension_data
};
LV2_SYMBOL_EXPORT
#if defined(COMPILER_MSVC)
__declspec(dllexport)
#else
__attribute__ ((visibility ("default")))
#endif
const LV2_Descriptor*
lv2_descriptor(uint32_t idx)
{