mirror of
https://github.com/boostorg/asio.git
synced 2026-02-22 13:42:08 +00:00
Fix coroutine detection with recent Xcode.
This commit is contained in:
@@ -2095,7 +2095,11 @@
|
||||
# if __has_include(<coroutine>)
|
||||
# define BOOST_ASIO_HAS_CO_AWAIT 1
|
||||
# endif // __has_include(<coroutine>)
|
||||
# endif // (__cplusplus >= 202002) && (__cpp_impl_coroutine >= 201902)
|
||||
# elif (__cplusplus >= 201703) && (__cpp_coroutines >= 201703)
|
||||
# if __has_include(<experimental/coroutine>)
|
||||
# define BOOST_ASIO_HAS_CO_AWAIT 1
|
||||
# endif // __has_include(<experimental/coroutine>)
|
||||
# endif // (__cplusplus >= 201703) && (__cpp_coroutines >= 201703)
|
||||
# else // (__clang_major__ >= 14)
|
||||
# if (__cplusplus >= 201703) && (__cpp_coroutines >= 201703)
|
||||
# if __has_include(<experimental/coroutine>)
|
||||
|
||||
Reference in New Issue
Block a user