From d2d3a4377634ab8e1db9f0a2cacc0a90966e1cd3 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 1 Oct 2019 17:49:58 +0100 Subject: Only enable Info modgui if building for MOD Signed-off-by: falkTX --- examples/Info/DistrhoPluginInfo.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/Info/DistrhoPluginInfo.h b/examples/Info/DistrhoPluginInfo.h index df72edcc..0f7184ff 100644 --- a/examples/Info/DistrhoPluginInfo.h +++ b/examples/Info/DistrhoPluginInfo.h @@ -26,10 +26,13 @@ #define DISTRHO_PLUGIN_NUM_INPUTS 2 #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 #define DISTRHO_PLUGIN_WANT_TIMEPOS 1 -#define DISTRHO_PLUGIN_USES_MODGUI 1 #define DISTRHO_UI_USER_RESIZABLE 1 #define DISTRHO_UI_USE_NANOVG 1 +#ifdef __MOD_DEVICES__ +#define DISTRHO_PLUGIN_USES_MODGUI 1 +#endif + enum Parameters { kParameterBufferSize = 0, kParameterTimePlaying, -- cgit v1.2.3