diff --git a/include/boost/container/detail/workaround.hpp b/include/boost/container/detail/workaround.hpp index 83aacef..b74e0fc 100644 --- a/include/boost/container/detail/workaround.hpp +++ b/include/boost/container/detail/workaround.hpp @@ -108,6 +108,15 @@ #define BOOST_CONTAINER_FORCEINLINE BOOST_FORCEINLINE #endif +//#define BOOST_CONTAINER_DISABLE_NOINLINE + +#if defined(BOOST_CONTAINER_DISABLE_NOINLINE) + #define BOOST_CONTAINER_NOINLINE +#else + #define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE +#endif + + #if !defined(__has_feature) #define BOOST_CONTAINER_HAS_FEATURE(feature) 0 #else