From a0b25654c979ecdfbec019046696bfdce15c78d7 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 11 Feb 2022 03:06:58 +0000 Subject: [PATCH] Fix build if midi out enabled but not state Signed-off-by: falkTX --- distrho/src/DistrhoPluginLV2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distrho/src/DistrhoPluginLV2.cpp b/distrho/src/DistrhoPluginLV2.cpp index 04e8f983..323225ad 100644 --- a/distrho/src/DistrhoPluginLV2.cpp +++ b/distrho/src/DistrhoPluginLV2.cpp @@ -1007,7 +1007,7 @@ public: setState(key, value); -#if DISTRHO_LV2_USE_EVENTS_OUT +#if DISTRHO_PLUGIN_WANT_STATE // signal msg needed for UI fNeededUiSends[i] = true; #endif