Browse Source

Allow to build VST without vestige header (aka "real" SDK)

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

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

@@ -30,14 +30,16 @@
# define __cdecl
#endif

#define VESTIGE_HEADER
#ifndef VESTIGE_HEADER
# define VESTIGE_HEADER 1
#endif
#define VST_FORCE_DEPRECATED 0

#include <clocale>
#include <map>
#include <string>

#ifdef VESTIGE_HEADER
#if VESTIGE_HEADER
# include "vestige/vestige.h"
#define effFlagsProgramChunks (1 << 5)
#define effSetProgramName 4


Loading…
Cancel
Save