diff options
author | Robin Gareus <robin@gareus.org> | 2014-01-17 16:10:03 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-01-17 16:10:03 +0100 |
commit | 7418c12a5b08d7c8b2c4a9dc9f909d0552c85ae2 (patch) | |
tree | 45b93b229ac1628d42c4d0bcf63f3a4d892aaf0d /libs/plugins | |
parent | 3ebd42b8734a144817128cd1e50cef3b6b806cf5 (diff) |
override -fvisibility=hidden for the LV2plugin descriptor
Diffstat (limited to 'libs/plugins')
-rw-r--r-- | libs/plugins/reasonablesynth.lv2/lv2.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/plugins/reasonablesynth.lv2/lv2.c b/libs/plugins/reasonablesynth.lv2/lv2.c index 6b9c81d8dd..586ca54c86 100644 --- a/libs/plugins/reasonablesynth.lv2/lv2.c +++ b/libs/plugins/reasonablesynth.lv2/lv2.c @@ -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) { |