ports/databases/mongodb40/files/patch-asio-libc++7
Kurt Jaeger 1e6fc9c791 New port: databases/mongodb40
Mongo (from "humongous") is a high-performance, open source,
schema-free, document-oriented database. A common name in the
"NOSQL" community.

WWW: https://www.mongodb.com/

PR:		234310
Reported by:	Eric Madrid <eric@madrid.lol>
Submitted by:	Andrew Shevchuk <dev.ashevchuk@gmail.com>
Reviewed by:	Michael Booth <michal@wrotkowski.pl>
2019-03-02 13:10:50 +00:00

15 lines
702 B
Text

https://github.com/boostorg/asio/commit/b5b17a67f0aa29f5156324d5e8a73dd8669a5a51
--- src/third_party/asio-master/asio/include/asio/detail/config.hpp.orig 2018-07-03 21:09:33 UTC
+++ src/third_party/asio-master/asio/include/asio/detail/config.hpp
@@ -784,8 +784,9 @@
# if !defined(ASIO_DISABLE_STD_STRING_VIEW)
# if defined(__clang__)
# if (__cplusplus >= 201402)
-# 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 >= 201402)