opnsense-ports/emulators/mame/files/patch-asio-libc++7
Franco Fichtner ed8f5df05f */*: sync with upstream
Taken from: HardenedBSD
2018-08-15 11:48:38 +02:00

15 lines
664 B
Text

https://github.com/boostorg/asio/commit/b5b17a67f0aa29f5156324d5e8a73dd8669a5a51
--- 3rdparty/asio/include/asio/detail/config.hpp.orig 2018-07-24 19:45:05 UTC
+++ 3rdparty/asio/include/asio/detail/config.hpp
@@ -708,8 +708,9 @@
# if !defined(ASIO_DISABLE_STD_STRING_VIEW)
# if defined(__clang__)
# if (__cplusplus >= 201103)
-# if __has_include(<experimental/string_view>)
+# if __has_include(<string_view>)
# define ASIO_HAS_STD_STRING_VIEW 1
+# elif __has_include(<experimental/string_view>)
# define ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1
# endif // __has_include(<experimental/string_view>)
# endif // (__cplusplus >= 201103)