Skip to content

Commit

Permalink
Remove MSVC dllexport attribute
Browse files Browse the repository at this point in the history
We now use a linker option to export the function, so that the code
remains compatible with a vanilla ladspa.h when building with MSVC.
  • Loading branch information
DomClark committed May 10, 2024
1 parent 1ad4f02 commit 24599fb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ static StartupShutdownHandler g_oStartupShutdownHandler;

/*****************************************************************************/

#ifdef _MSC_VER
// needed to get it to compile on msvc
__declspec(dllexport)
#endif
const LADSPA_Descriptor *
ladspa_descriptor(unsigned long Index) {
if (Index < g_lPluginCount)
Expand Down

0 comments on commit 24599fb

Please sign in to comment.