diff options
author | 2024-04-22 09:19:30 +1000 | |
---|---|---|
committer | 2024-04-22 09:19:30 +1000 | |
commit | 3ef9a7db09f039d310b161681dfc924fd2630b16 (patch) | |
tree | 959e4b4f82cefa5a58027eee7836f1039890ac74 /3rdparty | |
parent | 184292b730f4236bd4840e780fdad97ee060ec84 (diff) |
3rdparty/asio: Patch config.hpp to hopefully work with strict preprocessor warnings.
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/asio/include/asio/detail/config.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/asio/include/asio/detail/config.hpp b/3rdparty/asio/include/asio/detail/config.hpp index 14cf8cd78b4..cd345eac2cd 100644 --- a/3rdparty/asio/include/asio/detail/config.hpp +++ b/3rdparty/asio/include/asio/detail/config.hpp @@ -1314,17 +1314,17 @@ # if __has_include(<coroutine>) # define ASIO_HAS_CO_AWAIT 1 # endif // __has_include(<coroutine>) -# elif (__cplusplus >= 201703) && (__cpp_coroutines >= 201703) +# elif (__cplusplus >= 201703) && defined(__cpp_coroutines) && (__cpp_coroutines >= 201703) # if __has_include(<experimental/coroutine>) # define ASIO_HAS_CO_AWAIT 1 # endif // __has_include(<experimental/coroutine>) -# endif // (__cplusplus >= 201703) && (__cpp_coroutines >= 201703) +# endif // (__cplusplus >= 201703) && defined(__cpp_coroutines) && (__cpp_coroutines >= 201703) # else // (__clang_major__ >= 14) -# if (__cplusplus >= 201703) && (__cpp_coroutines >= 201703) +# if (__cplusplus >= 201703) && defined(__cpp_coroutines) && (__cpp_coroutines >= 201703) # if __has_include(<experimental/coroutine>) # define ASIO_HAS_CO_AWAIT 1 # endif // __has_include(<experimental/coroutine>) -# endif // (__cplusplus >= 201703) && (__cpp_coroutines >= 201703) +# endif // (__cplusplus >= 201703) && defined(__cpp_coroutines) && (__cpp_coroutines >= 201703) # endif // (__clang_major__ >= 14) # elif defined(__GNUC__) # if (__cplusplus >= 201709) && (__cpp_impl_coroutine >= 201902) |