Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/Simple-WebSocket-Server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Grundkiewicz <rgrundkiewicz@gmail.com>2022-09-02 16:40:36 +0300
committerGitHub <noreply@github.com>2022-09-02 16:40:36 +0300
commit8909c57b5473cb95e197fa7f034edabb474535ba (patch)
treee43e942078e441b66f0887c7b8dc4eb3c817e25c /asio_compatibility.hpp
parent1d7e84aeb3f1ebdc78f6965d79ad3ca3003789fe (diff)
parentdb904bbcb73be90b6e52a212660478ceefe5bb9d (diff)
Merge pull request #2 from marian-nmt/romang/update-with-upstream-sept-2022HEADmaster
Update with newest upstream
Diffstat (limited to 'asio_compatibility.hpp')
-rw-r--r--asio_compatibility.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/asio_compatibility.hpp b/asio_compatibility.hpp
index c2e0b66..5a7007d 100644
--- a/asio_compatibility.hpp
+++ b/asio_compatibility.hpp
@@ -3,7 +3,7 @@
#include <memory>
-#ifdef USE_STANDALONE_ASIO
+#ifdef ASIO_STANDALONE
#include <asio.hpp>
#include <asio/steady_timer.hpp>
namespace SimpleWeb {
@@ -27,7 +27,7 @@ namespace SimpleWeb {
#endif
namespace SimpleWeb {
-#if(USE_STANDALONE_ASIO && ASIO_VERSION >= 101300) || BOOST_ASIO_VERSION >= 101300
+#if(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;