Corrected ASIO_STANDALONE definition checks
This commit is contained in:
parent
84170850f3
commit
7c4f63cdad
3 changed files with 4 additions and 4 deletions
|
|
@ -27,12 +27,12 @@ namespace SimpleWeb {
|
|||
#endif
|
||||
|
||||
namespace SimpleWeb {
|
||||
#if(ASIO_STANDALONE && ASIO_VERSION >= 101300) || BOOST_ASIO_VERSION >= 101300
|
||||
#if(defined(ASIO_STANDALONE) && ASIO_VERSION >= 101300) || BOOST_ASIO_VERSION >= 101300
|
||||
using io_context = asio::io_context;
|
||||
using resolver_results = asio::ip::tcp::resolver::results_type;
|
||||
using async_connect_endpoint = asio::ip::tcp::endpoint;
|
||||
|
||||
#if(ASIO_STANDALONE && ASIO_VERSION >= 101800) || BOOST_ASIO_VERSION >= 101800
|
||||
#if(defined(ASIO_STANDALONE) && ASIO_VERSION >= 101800) || BOOST_ASIO_VERSION >= 101800
|
||||
using strand = asio::strand<asio::any_io_executor>;
|
||||
#else
|
||||
using strand = asio::strand<asio::executor>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue