Skip to content

Commit f6932b1

Browse files
committed
2.0.0-4
2.0.0-3
1 parent cd148a0 commit f6932b1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/asio_prefix.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
#pragma once
22

3+
#ifndef ASIO_STANDALONE
34
#if SIO_TLS
45
#include <boost/asio/ssl/context.hpp>
56
#endif
67

78
#include <boost/asio/steady_timer.hpp>
89
#include <boost/system/error_code.hpp>
910
#include <boost/asio/io_service.hpp>
11+
#else
12+
#if SIO_TLS
13+
#include <asio/ssl/context.hpp>
14+
#endif
1015

16+
#include <asio/steady_timer.hpp>
17+
#include <asio/io_service.hpp>
18+
#endif
19+
20+
#ifndef ASIO_STANDALONE
1121
namespace asio {
1222
using namespace boost::asio;
1323

@@ -49,3 +59,4 @@ namespace asio {
4959
using boost::system::error_code;
5060
namespace errc = boost::system::errc;
5161
} // namespace asio
62+
#endif

0 commit comments

Comments
 (0)