From 9f4150227e857a2cdf20bda0b8cb36e0b94da5da Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 1 May 2019 15:00:58 +0200 Subject: [PATCH] Fix build due to last commit Signed-off-by: falkTX --- source/bridges-plugin/CarlaBridgePlugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/bridges-plugin/CarlaBridgePlugin.cpp b/source/bridges-plugin/CarlaBridgePlugin.cpp index 7309849de..f07d0cc3e 100644 --- a/source/bridges-plugin/CarlaBridgePlugin.cpp +++ b/source/bridges-plugin/CarlaBridgePlugin.cpp @@ -349,11 +349,13 @@ private: // ptr must not be null CARLA_SAFE_ASSERT_RETURN(ptr != nullptr,); +#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) { CARLA_SAFE_ASSERT_UINT_RETURN(pluginId == 0, pluginId,); } +#endif return ((CarlaBridgePlugin*)ptr)->handleCallback(action, value1, value2, value3, valuef, valueStr); }