Skip to content

Commit fc3a245

Browse files
committed
Rename test/limits macro
1 parent 3c53c79 commit fc3a245

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

include/boost/http_proto/detail/header.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

test/limits/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ add_executable(boost_http_proto_limits limits.cpp Jamfile ${TEST_MAIN} ${LIMITS_
1818
target_include_directories(boost_http_proto_limits PRIVATE ../../)
1919
target_include_directories(boost_http_proto_limits PRIVATE ../../include ../../../url/extra/test_suite ../../..)
2020
target_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
)

test/limits/Jamfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ project
2525

2626
run 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

test/limits/limits.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
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

3232
namespace boost {

0 commit comments

Comments
 (0)