diff --git a/include/boost/preprocessor/variadic/has_opt.hpp b/include/boost/preprocessor/variadic/has_opt.hpp index b2cceff..7054e94 100644 --- a/include/boost/preprocessor/variadic/has_opt.hpp +++ b/include/boost/preprocessor/variadic/has_opt.hpp @@ -17,10 +17,14 @@ # /* BOOST_PP_VARIADIC_HAS_OPT */ # # if defined(__cplusplus) && __cplusplus > 201703L -# include -# define BOOST_PP_VARIADIC_HAS_OPT() \ +# if defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 8 && __GNUC__ < 10 +# define BOOST_PP_VARIADIC_HAS_OPT() 0 +# else +# include +# define BOOST_PP_VARIADIC_HAS_OPT() \ BOOST_PP_VARIADIC_HAS_OPT_ELEM2(BOOST_PP_VARIADIC_HAS_OPT_FUNCTION(?),) \ /**/ +# endif # else # define BOOST_PP_VARIADIC_HAS_OPT() 0 # endif