]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/qi/parse_attr.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / spirit / test / qi / parse_attr.cpp
index cf013054ce66aa8584b21a336afaf55123f37842..b15c8551317661db205476c2652d818ae9a7a994 100644 (file)
@@ -3,8 +3,6 @@
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying 
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
-#define SPIRIT_ARGUMENTS_LIMIT 10
-
 #include <boost/config/warning_disable.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
 
 #include "test_attr.hpp"
 
+#if SPIRIT_ARGUMENTS_LIMIT < 10
+# error SPIRIT_ARGUMENTS_LIMIT must be at least 10 to run the test
+#endif
+
 using namespace spirit_test;
 
 ///////////////////////////////////////////////////////////////////////////////