From b9be2e2e592e625849511af7deb7aff14816ec7d Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 17 May 2021 23:33:59 +0100 Subject: [PATCH] Allow to build VST without vestige header (aka "real" SDK) Signed-off-by: falkTX --- distrho/src/DistrhoPluginVST.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/distrho/src/DistrhoPluginVST.cpp b/distrho/src/DistrhoPluginVST.cpp index f7cf2431..1549a8c1 100644 --- a/distrho/src/DistrhoPluginVST.cpp +++ b/distrho/src/DistrhoPluginVST.cpp @@ -30,14 +30,16 @@ # define __cdecl #endif -#define VESTIGE_HEADER +#ifndef VESTIGE_HEADER +# define VESTIGE_HEADER 1 +#endif #define VST_FORCE_DEPRECATED 0 #include #include #include -#ifdef VESTIGE_HEADER +#if VESTIGE_HEADER # include "vestige/vestige.h" #define effFlagsProgramChunks (1 << 5) #define effSetProgramName 4