From 9e8160cf7ed8e822143e29b6e470f4daf78a3860 Mon Sep 17 00:00:00 2001 From: Justin Kerk Date: Tue, 17 Oct 2017 01:55:57 +0000 Subject: [PATCH] Fix compile warning under Emscripten (#2552) (submitted to upstream asio) (nw) --- 3rdparty/asio/include/asio/detail/socket_types.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/3rdparty/asio/include/asio/detail/socket_types.hpp b/3rdparty/asio/include/asio/detail/socket_types.hpp index 3114c08fa2e..60c5929e828 100644 --- a/3rdparty/asio/include/asio/detail/socket_types.hpp +++ b/3rdparty/asio/include/asio/detail/socket_types.hpp @@ -57,7 +57,12 @@ # include "asio/detail/old_win_sdk_compat.hpp" #else # include -# if !defined(__SYMBIAN32__) +# if (defined(__MACH__) && defined(__APPLE__)) \ + || defined(__FreeBSD__) || defined(__NetBSD__) \ + || defined(__OpenBSD__) || defined(__linux__) \ + || defined(__EMSCRIPTEN__) +# include +# elif !defined(__SYMBIAN32__) # include # endif # include