aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2022-12-29 14:23:47 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2022-12-29 14:23:47 +0300
commite195588e724c3f1ef18ff4a8c289f1c60bc5f9ec (patch)
treef6c9159a84f647afca89be5327e69c4e38596a5f /contrib
parent9d79f37dd74e285180318d1e2b4b0beaf4fee9fa (diff)
downloadydb-e195588e724c3f1ef18ff4a8c289f1c60bc5f9ec.tar.gz
Update contrib/restricted/boost/preprocessor to 1.81.0
Diffstat (limited to 'contrib')
-rw-r--r--contrib/restricted/boost/preprocessor/include/boost/preprocessor/variadic/has_opt.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/restricted/boost/preprocessor/include/boost/preprocessor/variadic/has_opt.hpp b/contrib/restricted/boost/preprocessor/include/boost/preprocessor/variadic/has_opt.hpp
index b2cceff5d5..7054e9455e 100644
--- a/contrib/restricted/boost/preprocessor/include/boost/preprocessor/variadic/has_opt.hpp
+++ b/contrib/restricted/boost/preprocessor/include/boost/preprocessor/variadic/has_opt.hpp
@@ -17,10 +17,14 @@
# /* BOOST_PP_VARIADIC_HAS_OPT */
#
# if defined(__cplusplus) && __cplusplus > 201703L
-# include <boost/preprocessor/variadic/detail/has_opt.hpp>
-# define BOOST_PP_VARIADIC_HAS_OPT() \
+# if defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 8 && __GNUC__ < 10
+# define BOOST_PP_VARIADIC_HAS_OPT() 0
+# else
+# include <boost/preprocessor/variadic/detail/has_opt.hpp>
+# 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