Signed-off-by: falkTX <falktx@falktx.com>tags/v2.2.0-RC1
| @@ -18,7 +18,7 @@ | |||||
| #include "CarlaPluginInternal.hpp" | #include "CarlaPluginInternal.hpp" | ||||
| #include "CarlaEngine.hpp" | #include "CarlaEngine.hpp" | ||||
| #if defined(USING_JUCE) | |||||
| #ifdef USING_JUCE | |||||
| #include "CarlaBackendUtils.hpp" | #include "CarlaBackendUtils.hpp" | ||||
| #include "CarlaMathUtils.hpp" | #include "CarlaMathUtils.hpp" | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * Carla VST Plugin | * Carla VST Plugin | ||||
| * Copyright (C) 2011-2019 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2011-2020 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -18,7 +18,7 @@ | |||||
| #include "CarlaPluginInternal.hpp" | #include "CarlaPluginInternal.hpp" | ||||
| #include "CarlaEngine.hpp" | #include "CarlaEngine.hpp" | ||||
| #if defined(USING_JUCE) && (defined(CARLA_OS_MAC) || defined(CARLA_OS_WIN)) | |||||
| #if defined(USING_JUCE) && JUCE_PLUGINHOST_VST | |||||
| # define USE_JUCE_FOR_VST2 | # define USE_JUCE_FOR_VST2 | ||||
| #endif | #endif | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * Carla Plugin Host | * Carla Plugin Host | ||||
| * Copyright (C) 2011-2019 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2011-2020 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -216,7 +216,7 @@ | |||||
| @see VSTPluginFormat, AudioPluginFormat, AudioPluginFormatManager, JUCE_PLUGINHOST_AU | @see VSTPluginFormat, AudioPluginFormat, AudioPluginFormatManager, JUCE_PLUGINHOST_AU | ||||
| */ | */ | ||||
| #if defined(APPCONFIG_OS_MAC) || defined(APPCONFIG_OS_WIN) | #if defined(APPCONFIG_OS_MAC) || defined(APPCONFIG_OS_WIN) | ||||
| # define JUCE_PLUGINHOST_VST 1 | |||||
| # define JUCE_PLUGINHOST_VST 0 /* FIXME use old juce vst2 code or vestige */ | |||||
| #else | #else | ||||
| # define JUCE_PLUGINHOST_VST 0 | # define JUCE_PLUGINHOST_VST 0 | ||||
| #endif | #endif | ||||