summaryrefslogtreecommitdiff
path: root/msvc_extra_headers
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2018-02-15 09:03:32 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2018-02-15 09:03:32 +0000
commitb9c9777b9a2be6fab826fd1236820bb67859d292 (patch)
tree8c255b1d112cca11a57f53f55535db55748943ba /msvc_extra_headers
parent208c781248335dda963f032fcb7e9427bb070244 (diff)
When building with MSVC, allow for the fact that Mixbus and Ardour can be using different versions of the SESSION_FILE format
Diffstat (limited to 'msvc_extra_headers')
-rw-r--r--msvc_extra_headers/ardourext/sys/targetsxs.h.input8
1 files changed, 8 insertions, 0 deletions
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