File tree Expand file tree Collapse file tree
include/boost/http_proto/detail Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ struct header
5151 // ^ ^ ^ ^
5252 // buf buf+prefix buf+size buf+cap
5353
54- #ifdef BOOST_HTTP_PROTO_TEST_FORCE_8BIT_OFFSET
54+ #ifdef BOOST_HTTP_PROTO_TEST_LIMITS
5555 using offset_type = std::uint8_t ;
5656#else
5757 using offset_type = std::uint32_t ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ add_executable(boost_http_proto_limits limits.cpp Jamfile ${TEST_MAIN} ${LIMITS_
1818target_include_directories (boost_http_proto_limits PRIVATE ../../ )
1919target_include_directories (boost_http_proto_limits PRIVATE ../../include ../../../url/extra/test_suite ../../.. )
2020target_compile_definitions (boost_http_proto_limits PRIVATE
21- BOOST_HTTP_PROTO_TEST_FORCE_8BIT_OFFSET
21+ BOOST_HTTP_PROTO_TEST_LIMITS
2222 BOOST_HTTP_PROTO_NO_LIB
2323 BOOST_HTTP_PROTO_STATIC_LINK
2424)
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ project
2525
2626run limits.cpp /boost/http_proto//http_proto_sources
2727 : requirements
28- <define>BOOST_HTTP_PROTO_TEST_FORCE_8BIT_OFFSET
28+ <define>BOOST_HTTP_PROTO_TEST_LIMITS
2929 <define>BOOST_HTTP_PROTO_NO_LIB
3030 <define>BOOST_HTTP_PROTO_STATIC_LINK
3131 <link>static
Original file line number Diff line number Diff line change 2525#error "Limits should not be built with shared linking."
2626#endif
2727
28- #ifndef BOOST_HTTP_PROTO_TEST_FORCE_8BIT_OFFSET
29- #error "Limits should be built with BOOST_HTTP_PROTO_TEST_FORCE_8BIT_OFFSET ."
28+ #ifndef BOOST_HTTP_PROTO_TEST_LIMITS
29+ #error "Limits should be built with BOOST_HTTP_PROTO_TEST_LIMITS ."
3030#endif
3131
3232namespace boost {
You can’t perform that action at this time.
0 commit comments