From 2124fb72ead59832daf35bafb0fe3d4469d09624 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Sat, 3 Feb 2018 13:55:37 +0000 Subject: Make sure that 'libardour-config,h' only gets #included when building with waf (as it only gets generated when building with waf) When building with MSVC this was getting #included in a few places which had the effect of making my session files get generated in a very old format. --- libs/ardour/lv2_plugin.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/lv2_plugin.cc') diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 941dac1615..13bca60b10 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -45,7 +45,9 @@ #include "pbd/windows_special_dirs.h" #endif +#ifdef WAF_BUILD #include "libardour-config.h" +#endif #include "ardour/audio_buffer.h" #include "ardour/audioengine.h" -- cgit v1.2.3