mirror of
https://github.com/holub/mame
synced 2025-10-04 08:28:39 +03:00
Fix 3rdparty/asio to compile with libc++ 9.0. (nw)
This commit is contained in:
parent
e886abcd37
commit
182a06055f
7
3rdparty/asio/include/asio/detail/config.hpp
vendored
7
3rdparty/asio/include/asio/detail/config.hpp
vendored
@ -708,7 +708,12 @@
|
||||
# if !defined(ASIO_DISABLE_STD_STRING_VIEW)
|
||||
# if defined(__clang__)
|
||||
# if (__cplusplus >= 201103)
|
||||
# if __has_include(<experimental/string_view>)
|
||||
# ifdef _LIBCPP_VERSION
|
||||
# if _LIBCPP_VERSION >= 9000
|
||||
# define ASIO_HAS_STD_STRING_VIEW 1
|
||||
# endif
|
||||
# endif
|
||||
# if !defined(ASIO_HAS_STD_STRING_VIEW) && __has_include(<experimental/string_view>)
|
||||
# define ASIO_HAS_STD_STRING_VIEW 1
|
||||
# define ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1
|
||||
# endif // __has_include(<experimental/string_view>)
|
||||
|
Loading…
Reference in New Issue
Block a user