diff --git a/libs/ardour/ardour/transport_fsm.h b/libs/ardour/ardour/transport_fsm.h index 689db5c16c..f175f8161a 100644 --- a/libs/ardour/ardour/transport_fsm.h +++ b/libs/ardour/ardour/transport_fsm.h @@ -5,6 +5,10 @@ #undef nil #endif +#ifndef BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS +#define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS +#endif + #include #include #include diff --git a/msvc_extra_headers/ardourext/sys/targetsxs.h.input b/msvc_extra_headers/ardourext/sys/targetsxs.h.input index 7ab3f68ddf..c2e2b4d3bc 100644 --- a/msvc_extra_headers/ardourext/sys/targetsxs.h.input +++ b/msvc_extra_headers/ardourext/sys/targetsxs.h.input @@ -76,6 +76,18 @@ __declspec(selectany) int _forceAtlDllManifestRTM; #endif #endif +#define BOOST_MPL_LIMIT_VECTOR_SIZE 30 +#ifdef NDEBUG +/* This one needs further investigation as it's */ +/* causing errors in the MSVC Debuggable builds */ +#define BOOST_MPL_LIMIT_MAP_SIZE 30 + +/* And this one seems dodgy in all builds (it's causing */ +/* various compile issues which change depending on the */ +/* inclusion order of our #included boost header files) */ +//#define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS +#endif + /* 'stdint.h' conflicts with various other libraries so let's #include stdint.h first to ensure one consistent implementation for commonly used integer types. */