File tree Expand file tree Collapse file tree
include/boost/http/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525namespace boost {
2626namespace http {
2727
28+ #ifdef BOOST_MSVC
29+ #pragma warning(push)
30+ #pragma warning(disable: 4251) // shared_ptr needs dll-interface
31+ #endif
32+
2833/* * A flattened router optimized for dispatch performance.
2934
3035 `flat_router` is constructed from a @ref router by flattening
@@ -87,6 +92,10 @@ class BOOST_HTTP_DECL
8792 route_params_base& p) const ;
8893};
8994
95+ #ifdef BOOST_MSVC
96+ #pragma warning(pop)
97+ #endif
98+
9099} // http
91100} // boost
92101
Original file line number Diff line number Diff line change 1010
1111import testing ;
1212
13+ # Windows CNG library for bcrypt random number generation.
14+ lib bcrypt_sys : : <name>bcrypt ;
15+
1316project
1417 : requirements
1518 $(c11-requires)
@@ -28,4 +31,6 @@ run limits.cpp /boost/http//http_sources
2831 <define>BOOST_HTTP_NO_LIB
2932 <define>BOOST_HTTP_STATIC_LINK
3033 <link>static
34+ <target-os>windows:<library>bcrypt_sys
35+ <target-os>darwin:<linkflags>"-framework Security"
3136 ;
You can’t perform that action at this time.
0 commit comments