diff options
author | fundamental <mark.d.mccurry@gmail.com> | 2017-07-30 11:20:56 -0400 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2017-08-04 00:24:29 +0200 |
commit | bae1ad52ac3de6ea90bf22ca5eb8704554c7ed2d (patch) | |
tree | ef381b207965b63d57a37f0b7211b99ae2570040 | |
parent | 07cf566b64d75fa02bae190282f7ade610bb3c5d (diff) |
Fix VST Build With DISTRHO_PLUGIN_HAS_EXTERNAL_UI
-rw-r--r-- | distrho/src/DistrhoPluginVST.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/distrho/src/DistrhoPluginVST.cpp b/distrho/src/DistrhoPluginVST.cpp index ce78b265..491798df 100644 --- 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; } |