diff --git a/include/callable_traits/config.hpp b/include/callable_traits/config.hpp index 0a54601..06dc9f2 100644 --- a/include/callable_traits/config.hpp +++ b/include/callable_traits/config.hpp @@ -58,6 +58,9 @@ Distributed under the Boost Software License, Version 1.0. #if defined __GNUC__ && __GNUC__ < 5 #define CALLABLE_TRAITS_DISABLE_CONSTEXPR_CHECKS + +#if __GNUC_MINOR__ < 9 || (__GNUC_MINOR__ == 9 && __GNUC_PATCHLEVEL__ < 2) +#define CALLABLE_TRAITS_DISABLE_BIND #endif