From 2075a8e2a00ab4107c5cb2e66fcc6445590139ba Mon Sep 17 00:00:00 2001 From: arbee Date: Thu, 28 Mar 2019 00:39:33 -0400 Subject: fix non-Apple Clang (nw) --- 3rdparty/asio/include/asio/detail/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/asio/include/asio/detail/config.hpp b/3rdparty/asio/include/asio/detail/config.hpp index 2fea4387f16..64a80abdb3a 100644 --- a/3rdparty/asio/include/asio/detail/config.hpp +++ b/3rdparty/asio/include/asio/detail/config.hpp @@ -715,7 +715,7 @@ # endif # if !defined(ASIO_HAS_STD_STRING_VIEW) && __has_include() # define ASIO_HAS_STD_STRING_VIEW 1 -# if (__APPLE__) +# if defined(__APPLE__) # if ((__clang_major__ < 10) || ((__clang_major__ == 10) && (__clang_minor__ == 0) && (__clang_patchlevel__ < 1))) # define ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1 # endif // clang < 10.0.1 -- cgit v1.2.3