diff --git a/asio/include/asio/io_service.hpp b/asio/include/asio/io_service.hpp index 4eb7cc55..3cb7448a 100644 --- a/asio/include/asio/io_service.hpp +++ b/asio/include/asio/io_service.hpp @@ -21,8 +21,10 @@ namespace asio { +#if !defined(ASIO_NO_DEPRECATED) /// Typedef for backwards compatibility. typedef io_context io_service; +#endif // !defined(ASIO_NO_DEPRECATED) } // namespace asio