Browse Source

Disable UI if DGL is not available

pull/6/head
falkTX 8 years ago
parent
commit
2260b23dc5
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      distrho/src/DistrhoPluginChecks.h

+ 8
- 0
distrho/src/DistrhoPluginChecks.h View File

@@ -104,6 +104,14 @@
# error Synths need MIDI input to work!
#endif

// -----------------------------------------------------------------------
// Disable UI if DGL is not available

#if DISTRHO_PLUGIN_HAS_UI && ! defined(HAVE_DGL)
# undef DISTRHO_PLUGIN_HAS_UI
# define DISTRHO_PLUGIN_HAS_UI 0
#endif

// -----------------------------------------------------------------------

#endif // DISTRHO_PLUGIN_CHECKS_H_INCLUDED

Loading…
Cancel
Save