From 37194ec805807143c2d9cb4a76ab7f258a3d0622 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Wed, 18 Sep 2019 15:08:26 +0100 Subject: Introduce the BOOST_MPL stuff (though it all seems a bit flaky with MSVC...) --- msvc_extra_headers/ardourext/sys/targetsxs.h.input | 12 ++++++++++++ 1 file changed, 12 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 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. */ -- cgit v1.2.3