Use BOOST_STRINGIZE

fix #384
This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:19 -07:00
1 parent 55358835c6
commit 4bbb21d7af
2 files changed
+3 -4

No files matched your search

+2 -4
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