summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2019-03-28 00:39:33 -0400
committer arbee <rb6502@users.noreply.github.com>2019-03-28 00:39:33 -0400
commit2075a8e2a00ab4107c5cb2e66fcc6445590139ba (patch)
tree325d6f4195b07d9f2b7ffd17372745163600fa31
parent8c220a3cbd0d8d5a157be0924c76d9e59f82928e (diff)
fix non-Apple Clang (nw)
-rw-r--r--3rdparty/asio/include/asio/detail/config.hpp2
1 files changed, 1 insertions, 1 deletions
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(<experimental/string_view>)
# 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