mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
3rdparty/asio: Patch config.hpp to hopefully work with strict preprocessor warnings.
This commit is contained in:
parent
184292b730
commit
3ef9a7db09
8
3rdparty/asio/include/asio/detail/config.hpp
vendored
8
3rdparty/asio/include/asio/detail/config.hpp
vendored
@ -1314,17 +1314,17 @@
|
|||||||
# if __has_include(<coroutine>)
|
# if __has_include(<coroutine>)
|
||||||
# define ASIO_HAS_CO_AWAIT 1
|
# define ASIO_HAS_CO_AWAIT 1
|
||||||
# endif // __has_include(<coroutine>)
|
# endif // __has_include(<coroutine>)
|
||||||
# elif (__cplusplus >= 201703) && (__cpp_coroutines >= 201703)
|
# elif (__cplusplus >= 201703) && defined(__cpp_coroutines) && (__cpp_coroutines >= 201703)
|
||||||
# if __has_include(<experimental/coroutine>)
|
# if __has_include(<experimental/coroutine>)
|
||||||
# define ASIO_HAS_CO_AWAIT 1
|
# define ASIO_HAS_CO_AWAIT 1
|
||||||
# endif // __has_include(<experimental/coroutine>)
|
# endif // __has_include(<experimental/coroutine>)
|
||||||
# endif // (__cplusplus >= 201703) && (__cpp_coroutines >= 201703)
|
# endif // (__cplusplus >= 201703) && defined(__cpp_coroutines) && (__cpp_coroutines >= 201703)
|
||||||
# else // (__clang_major__ >= 14)
|
# else // (__clang_major__ >= 14)
|
||||||
# if (__cplusplus >= 201703) && (__cpp_coroutines >= 201703)
|
# if (__cplusplus >= 201703) && defined(__cpp_coroutines) && (__cpp_coroutines >= 201703)
|
||||||
# if __has_include(<experimental/coroutine>)
|
# if __has_include(<experimental/coroutine>)
|
||||||
# define ASIO_HAS_CO_AWAIT 1
|
# define ASIO_HAS_CO_AWAIT 1
|
||||||
# endif // __has_include(<experimental/coroutine>)
|
# endif // __has_include(<experimental/coroutine>)
|
||||||
# endif // (__cplusplus >= 201703) && (__cpp_coroutines >= 201703)
|
# endif // (__cplusplus >= 201703) && defined(__cpp_coroutines) && (__cpp_coroutines >= 201703)
|
||||||
# endif // (__clang_major__ >= 14)
|
# endif // (__clang_major__ >= 14)
|
||||||
# elif defined(__GNUC__)
|
# elif defined(__GNUC__)
|
||||||
# if (__cplusplus >= 201709) && (__cpp_impl_coroutine >= 201902)
|
# if (__cplusplus >= 201709) && (__cpp_impl_coroutine >= 201902)
|
||||||
|
Loading…
Reference in New Issue
Block a user