From b4fd3bdb33f6067d12bd0180b7e2c1b4ec8e9cfd Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 1 May 2019 15:21:27 +0200 Subject: [PATCH] Really fix build Signed-off-by: falkTX --- source/backend/engine/CarlaEngineDummy.cpp | 4 +++- source/bridges-plugin/CarlaBridgePlugin.cpp | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/source/backend/engine/CarlaEngineDummy.cpp b/source/backend/engine/CarlaEngineDummy.cpp index 9537252bf..f6b6cd98a 100644 --- a/source/backend/engine/CarlaEngineDummy.cpp +++ b/source/backend/engine/CarlaEngineDummy.cpp @@ -17,7 +17,9 @@ #include "CarlaEngineGraph.hpp" #include "CarlaEngineInternal.hpp" -// #include "CarlaBackendUtils.hpp" + +#include +#include CARLA_BACKEND_START_NAMESPACE diff --git a/source/bridges-plugin/CarlaBridgePlugin.cpp b/source/bridges-plugin/CarlaBridgePlugin.cpp index f07d0cc3e..9220b441f 100644 --- a/source/bridges-plugin/CarlaBridgePlugin.cpp +++ b/source/bridges-plugin/CarlaBridgePlugin.cpp @@ -352,10 +352,11 @@ private: #ifndef BUILD_BRIDGE_ALTERNATIVE_ARCH // pluginId must be 0 (first), except for patchbay things if (action < CarlaBackend::ENGINE_CALLBACK_PATCHBAY_CLIENT_ADDED || - action > CarlaBackend::ENGINE_CALLBACK_PATCHBAY_CONNECTION_REMOVED) { + action > CarlaBackend::ENGINE_CALLBACK_PATCHBAY_CONNECTION_REMOVED) +#endif + { CARLA_SAFE_ASSERT_UINT_RETURN(pluginId == 0, pluginId,); } -#endif return ((CarlaBridgePlugin*)ptr)->handleCallback(action, value1, value2, value3, valuef, valueStr); }