From b9c9777b9a2be6fab826fd1236820bb67859d292 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Thu, 15 Feb 2018 09:03:32 +0000 Subject: When building with MSVC, allow for the fact that Mixbus and Ardour can be using different versions of the SESSION_FILE format --- msvc_extra_headers/ardourext/sys/targetsxs.h.input | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'msvc_extra_headers') diff --git a/msvc_extra_headers/ardourext/sys/targetsxs.h.input b/msvc_extra_headers/ardourext/sys/targetsxs.h.input index aa09700241..0ca7baf73c 100644 --- a/msvc_extra_headers/ardourext/sys/targetsxs.h.input +++ b/msvc_extra_headers/ardourext/sys/targetsxs.h.input @@ -16,6 +16,14 @@ /* Comment out the above line to build Mixbus without VST support */ #endif +#ifndef CURRENT_SESSION_FILE_VERSION +#ifdef MIXBUS +#define CURRENT_SESSION_FILE_VERSION 5990 +#else +#define CURRENT_SESSION_FILE_VERSION 5990 +#endif +#endif + #ifndef JACK_32_64 #define JACK_32_64 /* Shouldn't really be needed but make sure that any structs we -- cgit v1.2.3