forked from boostorg/beast
Use Boost.Config
This commit is contained in:
1 parent
f65a611b85
commit
0324dc371f
9 files changed
+34
-31
No files matched your search
@@ -10,7 +10,9 @@
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <boost/config.hpp>
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
# pragma warning (push)
|
||||
# pragma warning (disable: 4127) // conditional expression is constant
|
||||
# pragma warning (disable: 4244) // integer conversion, possible loss of data
|
||||
@@ -18,7 +20,7 @@
|
||||
|
||||
#include "nodejs-parser/http_parser.c"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef BOOST_MSVC
|
||||
# pragma warning (pop)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user