Fixes #317: Make use of ASIO_STANDALONE when using standalone asio in order to compile on older asio versions without boost
This commit is contained in:
parent
cc0dc20947
commit
1bb89e1e8e
6 changed files with 8 additions and 8 deletions
|
|
@ -27,7 +27,7 @@
|
|||
namespace SimpleWeb {
|
||||
using string_view = std::string_view;
|
||||
}
|
||||
#elif !defined(USE_STANDALONE_ASIO)
|
||||
#elif !defined(ASIO_STANDALONE)
|
||||
#include <boost/utility/string_ref.hpp>
|
||||
namespace SimpleWeb {
|
||||
using string_view = boost::string_ref;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue