fix OSX builds
This commit is contained in:
parent
66b14b7bbb
commit
51d58d2c08
@ -2437,11 +2437,12 @@ PluginInsert::add_plugin (boost::shared_ptr<Plugin> plugin)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if (defined WINDOWS_VST_SUPPORT || defined LXVST_SUPPORT)
|
||||
boost::shared_ptr<VSTPlugin> vst = boost::dynamic_pointer_cast<VSTPlugin> (plugin);
|
||||
if (vst) {
|
||||
vst->set_insert (this, _plugins.size ());
|
||||
}
|
||||
#endif
|
||||
_plugins.push_back (plugin);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user