diff --git a/Subtrees/beast/Builds/VisualStudio2012/beast.vcxproj b/Subtrees/beast/Builds/VisualStudio2012/beast.vcxproj index 72c9a657f0..e880a40de6 100644 --- a/Subtrees/beast/Builds/VisualStudio2012/beast.vcxproj +++ b/Subtrees/beast/Builds/VisualStudio2012/beast.vcxproj @@ -96,6 +96,7 @@ + @@ -364,6 +365,12 @@ true true + + true + true + true + true + true true diff --git a/Subtrees/beast/Builds/VisualStudio2012/beast.vcxproj.filters b/Subtrees/beast/Builds/VisualStudio2012/beast.vcxproj.filters index 7e17799be9..471d921ff4 100644 --- a/Subtrees/beast/Builds/VisualStudio2012/beast.vcxproj.filters +++ b/Subtrees/beast/Builds/VisualStudio2012/beast.vcxproj.filters @@ -173,6 +173,9 @@ {5904368f-a0f2-4d26-a031-8cbe4448dc3f} + + {ac367054-ddbf-4118-a41a-07bea34d32c8} + @@ -983,6 +986,9 @@ beast_core\diagnostic + + beast_asio\parsehttp + @@ -1468,6 +1474,9 @@ beast_core\containers + + beast_asio\parsehttp + diff --git a/Subtrees/beast/modules/beast_asio/beast_asio.cpp b/Subtrees/beast/modules/beast_asio/beast_asio.cpp index 6ea8004acf..574925eb90 100644 --- a/Subtrees/beast/modules/beast_asio/beast_asio.cpp +++ b/Subtrees/beast/modules/beast_asio/beast_asio.cpp @@ -23,6 +23,11 @@ #include "beast_asio.h" +namespace http_parser +{ +#include "parsehttp/http_parser.h" +} + namespace beast { @@ -49,3 +54,18 @@ namespace beast #include "system/beast_BoostUnitTests.cpp" } + +//------------------------------------------------------------------------------ + +#ifdef _MSC_VER +#pragma warning (push) +#pragma warning (disable: 4127) // conditional expression is constant +#pragma warning (disable: 4244) // integer conversion, possible loss of data +#endif +namespace http_parser +{ +#include "parsehttp/http_parser.c" +} +#ifdef _MSC_VER +#pragma warning (pop) +#endif