From fd8ba2deda9c7b657175498757523fc5d71f5427 Mon Sep 17 00:00:00 2001 From: reuk Date: Fri, 25 Sep 2020 19:46:40 +0100 Subject: [PATCH] VST2: Allow VST2 plugins to build for win32 with LLVM --- modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp index 515c37a2a8..b8a0905ef3 100644 --- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp @@ -2228,7 +2228,7 @@ namespace return pluginEntryPoint (audioMaster); } - #ifndef JUCE_64BIT // (can't compile this on win64, but it's not needed anyway with VST2.4) + #if ! defined (JUCE_64BIT) && JUCE_MSVC // (can't compile this on win64, but it's not needed anyway with VST2.4) extern "C" __declspec (dllexport) int main (Vst2::audioMasterCallback audioMaster) { PluginHostType::jucePlugInClientCurrentWrapperType = AudioProcessor::wrapperType_VST;