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.
This commit is contained in:
John Emmas 2018-02-03 13:55:37 +00:00
parent b69d818ce9
commit 2124fb72ea
3 changed files with 6 additions and 0 deletions

View File

@ -20,7 +20,9 @@
#ifndef __ardour_port_h__
#define __ardour_port_h__
#ifdef WAF_BUILD
#include "libardour-config.h"
#endif
#include <set>
#include <string>

View File

@ -20,7 +20,9 @@
#ifndef __ardour_session_h__
#define __ardour_session_h__
#ifdef WAF_BUILD
#include "libardour-config.h"
#endif
#include <exception>
#include <list>

View File

@ -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"