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:
eidheim 2021-03-26 10:02:04 +01:00
commit 1bb89e1e8e
6 changed files with 8 additions and 8 deletions

View file

@ -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;