1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Don't try to build VST/VST3 hosting code on iOS and add missing header

This commit is contained in:
hogliux 2016-04-27 14:44:32 +01:00
parent 1cbd0a005b
commit 7196e57f4d
7 changed files with 23 additions and 19 deletions

View file

@ -65,11 +65,11 @@ void AudioPluginFormatManager::addDefaultFormats()
// you should only call this method once!
for (int i = formats.size(); --i >= 0;)
{
#if JUCE_PLUGINHOST_VST
#if JUCE_PLUGINHOST_VST && (JUCE_MAC || JUCE_WIN || JUCE_LINUX)
jassert (dynamic_cast<VSTPluginFormat*> (formats[i]) == nullptr);
#endif
#if JUCE_PLUGINHOST_VST3
#if JUCE_PLUGINHOST_VST3 && (JUCE_MAC || JUCE_WIN)
jassert (dynamic_cast<VST3PluginFormat*> (formats[i]) == nullptr);
#endif
@ -87,11 +87,11 @@ void AudioPluginFormatManager::addDefaultFormats()
formats.add (new AudioUnitPluginFormat());
#endif
#if JUCE_PLUGINHOST_VST
#if JUCE_PLUGINHOST_VST && (JUCE_MAC || JUCE_WIN || JUCE_LINUX)
formats.add (new VSTPluginFormat());
#endif
#if JUCE_PLUGINHOST_VST3
#if JUCE_PLUGINHOST_VST3 && (JUCE_MAC || JUCE_WIN)
formats.add (new VST3PluginFormat());
#endif