Browse Source

Fix LTO build if vst2 MIDI stuff is properly defined elsewhere

Signed-off-by: falkTX <falktx@falktx.com>
pull/409/head
falkTX 2 years ago
parent
commit
55a1e21ebb
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      distrho/src/DistrhoPluginVST2.cpp

+ 4
- 2
distrho/src/DistrhoPluginVST2.cpp View File

@@ -36,6 +36,10 @@


#include "xaymar-vst2/vst.h" #include "xaymar-vst2/vst.h"


START_NAMESPACE_DISTRHO

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

extern "C" { extern "C" {


// define the midi stuff ourselves // define the midi stuff ourselves
@@ -85,8 +89,6 @@ typedef struct _VstTimeInfo {


} }


START_NAMESPACE_DISTRHO

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


typedef std::map<const String, String> StringMap; typedef std::map<const String, String> StringMap;


Loading…
Cancel
Save