mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
VST3: Fix link of 32-bit plugins
This commit is contained in:
parent
9cc3fca7d0
commit
422e4a0083
1 changed files with 5 additions and 1 deletions
|
|
@ -3314,7 +3314,11 @@ JUCE_EXPORTED_FUNCTION IPluginFactory* PLUGIN_API GetPluginFactory()
|
|||
#if JUCE_MSVC || (JUCE_WINDOWS && JUCE_CLANG)
|
||||
// Cunning trick to force this function to be exported. Life's too short to
|
||||
// faff around creating .def files for this kind of thing.
|
||||
#pragma comment(linker, "/EXPORT:GetPluginFactory=GetPluginFactory")
|
||||
#if JUCE_32BIT
|
||||
#pragma comment(linker, "/EXPORT:GetPluginFactory=_GetPluginFactory@0")
|
||||
#else
|
||||
#pragma comment(linker, "/EXPORT:GetPluginFactory=GetPluginFactory")
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (globalFactory == nullptr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue