]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/preprocessor/iteration/detail/local.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / preprocessor / iteration / detail / local.hpp
index ccddd5e0f0af02f8d5d263bbdde03089f93b6237..a289b6edf0e14f3e98f47eef13115992d448f893 100644 (file)
@@ -7,6 +7,8 @@
 #  *                                                                          *
 #  ************************************************************************** */
 #
+# /* Revised by Edward Diener (2020) */
+#
 # /* See http://www.boost.org for most recent version. */
 #
 # if !defined(BOOST_PP_LOCAL_LIMITS)
 # if (BOOST_PP_LOCAL_S) > (BOOST_PP_LOCAL_F)
 #    include <boost/preprocessor/iteration/detail/rlocal.hpp>
 # else
+#
+# include <boost/preprocessor/config/config.hpp>
+#
+# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()
+#
 #    if BOOST_PP_LOCAL_C(0)
         BOOST_PP_LOCAL_MACRO(0)
 #    endif
 #    if BOOST_PP_LOCAL_C(256)
         BOOST_PP_LOCAL_MACRO(256)
 #    endif
+#
+# else
+#
+#    include <boost/preprocessor/config/limits.hpp>
+#    
+#    if BOOST_PP_LIMIT_ITERATION == 256
+#    include <boost/preprocessor/iteration/detail/limits/local_256.hpp>
+#    elif BOOST_PP_LIMIT_ITERATION == 512
+#    include <boost/preprocessor/iteration/detail/limits/local_256.hpp>
+#    include <boost/preprocessor/iteration/detail/limits/local_512.hpp>
+#    elif BOOST_PP_LIMIT_ITERATION == 1024
+#    include <boost/preprocessor/iteration/detail/limits/local_256.hpp>
+#    include <boost/preprocessor/iteration/detail/limits/local_512.hpp>
+#    include <boost/preprocessor/iteration/detail/limits/local_1024.hpp>
+#    else
+#    error Incorrect value for the BOOST_PP_LIMIT_ITERATION limit
+#    endif
+#
+# endif
+#
 # endif
 #
 # undef BOOST_PP_LOCAL_LIMITS