commit 49022ac62d58abbc779e4a214cde42d032159bfa
parent fa54750583225c2e6aa5cda9baf9c18eb722daee
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Sun, 30 Jul 2017 11:20:29 -0400
Fix VST Build With DISTRHO_PLUGIN_HAS_EXTERNAL_UI
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/distrho/src/DistrhoPluginVST.cpp b/distrho/src/DistrhoPluginVST.cpp
@@ -171,6 +171,7 @@ public:
int handlePluginKeyEvent(const bool down, int32_t index, const intptr_t value)
{
+# if !DISTRHO_PLUGIN_HAS_EXTERNAL_UI
d_stdout("handlePluginKeyEvent %i %i %li\n", down, index, (long int)value);
int special = 0;
@@ -215,6 +216,7 @@ public:
if (index >= 0)
return fUI.handlePluginKeyboard(down, static_cast<uint>(index));
+# endif
return 0;
}