Use BOOST_STRINGIZE

fix #384
This commit is contained in:
Vinnie Falco
2017-06-08 06:01:05 -07:00
parent 55358835c6
commit 4bbb21d7af
2 changed files with 3 additions and 4 deletions

View File

@ -4,6 +4,7 @@ Version 51
* Tidy up file_body
* Fix file_body::get() not setting the more flag correctly
* Use BOOST_FALLTHROUGH
* Use BOOST_STRINGIZE
API Changes:

View File

@ -9,9 +9,7 @@
#define BEAST_VERSION_HPP
#include <beast/config.hpp>
#define BEAST_QUOTE(arg) #arg
#define BEAST_STR(arg) BEAST_QUOTE(arg)
#include <boost/config.hpp>
/** @def BEAST_API_VERSION
@ -22,7 +20,7 @@
*/
#define BEAST_VERSION 50
#define BEAST_VERSION_STRING "Beast/" BEAST_STR(BEAST_VERSION)
#define BEAST_VERSION_STRING "Beast/" BOOST_STRINGIZE(BEAST_VERSION)
#endif