mirror of
https://github.com/holub/mame
synced 2025-07-04 01:18:59 +03:00
Fix compiling with Xcode 10.2 on macOS (nw)
This shouldn't affect any other Clang configurations (or any older Xcodes); LMK if problems occur.
This commit is contained in:
parent
542fb45cfc
commit
2c3395cf8b
6
3rdparty/asio/include/asio/detail/config.hpp
vendored
6
3rdparty/asio/include/asio/detail/config.hpp
vendored
@ -715,7 +715,13 @@
|
|||||||
# endif
|
# endif
|
||||||
# if !defined(ASIO_HAS_STD_STRING_VIEW) && __has_include(<experimental/string_view>)
|
# if !defined(ASIO_HAS_STD_STRING_VIEW) && __has_include(<experimental/string_view>)
|
||||||
# define ASIO_HAS_STD_STRING_VIEW 1
|
# define ASIO_HAS_STD_STRING_VIEW 1
|
||||||
|
# if (__APPLE__)
|
||||||
|
# if ((__clang_major__ < 10) || ((__clang_major__ == 10) && (__clang_minor__ == 0) && (__clang_patchlevel__ < 1)))
|
||||||
# define ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1
|
# define ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1
|
||||||
|
# endif // clang < 10.0.1
|
||||||
|
# else // for non-Xcode Clang
|
||||||
|
# define ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1
|
||||||
|
# endif
|
||||||
# endif // __has_include(<experimental/string_view>)
|
# endif // __has_include(<experimental/string_view>)
|
||||||
# endif // (__cplusplus >= 201103)
|
# endif // (__cplusplus >= 201103)
|
||||||
# endif // defined(__clang__)
|
# endif // defined(__clang__)
|
||||||
|
Loading…
Reference in New Issue
Block a user