Fix BEAST_FALLTHROUGH in config

This commit is contained in:
octopus-prime
2017-06-28 21:42:54 +02:00
committed by Vinnie Falco
parent 7753d6eda2
commit 0ab9975751
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ Version 70:
* Serialize in one step when possible
* Add basic_parser header and body limits
* Add parser::on_header to set a callback
* Fix BEAST_FALLTHROUGH
API Changes:

View File

@@ -14,7 +14,7 @@
#if BOOST_VERSION >= 106500 || ! defined(BOOST_GCC) || BOOST_GCC < 70000
# define BEAST_FALLTHROUGH BOOST_FALLTHROUGH
#else
# define BEAST_FALLTHROUGH _attribute__((fallthrough))
# define BEAST_FALLTHROUGH __attribute__((fallthrough))
#endif
#endif