|
@@ -2,7 +2,7 @@
|
|
|
// detail/config.hpp
|
|
|
// ~~~~~~~~~~~~~~~~~
|
|
|
//
|
|
|
-// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
|
|
+// Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
|
|
//
|
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
@@ -98,9 +98,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_MOVE 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -168,9 +168,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_VARIADIC_TEMPLATES 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -185,9 +185,9 @@
|
|
|
#if !defined(BOOST_ASIO_DELETED)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_DELETED = delete
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(__clang__)
|
|
@@ -215,9 +215,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_CONSTEXPR 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -248,10 +248,10 @@
|
|
|
# endif // __has_feature(__cxx_noexcept__)
|
|
|
# elif defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_NOEXCEPT noexcept(true)
|
|
|
# define BOOST_ASIO_NOEXCEPT_OR_NOTHROW noexcept(true)
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
# elif defined(BOOST_ASIO_MSVC)
|
|
|
# if (_MSC_VER >= 1900)
|
|
@@ -278,9 +278,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_DECLTYPE 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -301,9 +301,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_ALIAS_TEMPLATES 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -367,9 +367,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_SYSTEM_ERROR 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -389,9 +389,9 @@
|
|
|
# endif // __has_feature(__cxx_noexcept__)
|
|
|
# elif defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT noexcept(true)
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
# elif defined(BOOST_ASIO_MSVC)
|
|
|
# if (_MSC_VER >= 1900)
|
|
@@ -417,9 +417,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_ARRAY 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -442,9 +442,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_SHARED_PTR 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -467,9 +467,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_ALLOCATOR_ARG 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -500,9 +500,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_ATOMIC 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -529,12 +529,12 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_CHRONO 1
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ == 6))
|
|
|
# define BOOST_ASIO_HAS_STD_CHRONO_MONOTONIC_CLOCK 1
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ == 6))
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -582,9 +582,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_ADDRESSOF 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -607,9 +607,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_FUNCTION 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -634,9 +634,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_TYPE_TRAITS 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -656,9 +656,9 @@
|
|
|
# endif // __has_feature(__cxx_rvalue_references__)
|
|
|
# elif defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_NULLPTR 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -680,9 +680,9 @@
|
|
|
# endif // (__cplusplus >= 201103)
|
|
|
# elif defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_CXX11_ALLOCATORS 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -705,9 +705,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_CSTDINT 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -732,9 +732,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_THREAD 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -759,9 +759,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_MUTEX_AND_CONDVAR 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -786,9 +786,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_CALL_ONCE 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -813,9 +813,9 @@
|
|
|
# endif // defined(__clang__)
|
|
|
# if defined(__GNUC__)
|
|
|
# if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_FUTURE 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -903,9 +903,9 @@
|
|
|
# if !defined(BOOST_ASIO_DISABLE_STD_IOSTREAM_MOVE)
|
|
|
# if defined(__GNUC__)
|
|
|
# if (__GNUC__ > 4)
|
|
|
-# if defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# if (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# define BOOST_ASIO_HAS_STD_IOSTREAM_MOVE 1
|
|
|
-# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
+# endif // (__cplusplus >= 201103) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
# endif // (__GNUC__ > 4)
|
|
|
# endif // defined(__GNUC__)
|
|
|
# if defined(BOOST_ASIO_MSVC)
|
|
@@ -938,7 +938,8 @@
|
|
|
#if !defined(BOOST_ASIO_WINDOWS_APP)
|
|
|
# if defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0603)
|
|
|
# include <winapifamily.h>
|
|
|
-# if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) \
|
|
|
+# if (WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) \
|
|
|
+ || WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_TV_TITLE)) \
|
|
|
&& !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
|
# define BOOST_ASIO_WINDOWS_APP 1
|
|
|
# endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|