File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 30
30
#include < vector>
31
31
#include < string>
32
32
33
- #if defined(__APPLE__) || defined(ANDROID) || (defined(_MS_WINDOWS) && !defined(__cplusplus_winrt))
33
+ #if defined(__APPLE__) || defined(ANDROID) || (defined(_MS_WINDOWS) && !defined(__cplusplus_winrt) && !defined(_M_ARM) )
34
34
35
35
#include < boost/asio/ssl.hpp>
36
36
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ using namespace crossplat;
50
50
51
51
namespace web { namespace http { namespace client { namespace details {
52
52
53
- #if defined(__APPLE__) || defined(ANDROID) || (defined(_MS_WINDOWS) && !defined(__cplusplus_winrt))
53
+ #if defined(__APPLE__) || defined(ANDROID) || (defined(_MS_WINDOWS) && !defined(__cplusplus_winrt) && !defined(_M_ARM) )
54
54
bool verify_cert_chain_platform_specific (boost::asio::ssl::verify_context &verifyCtx, const std::string &hostName)
55
55
{
56
56
X509_STORE_CTX *storeContext = verifyCtx.native_handle ();
@@ -106,7 +106,7 @@ bool verify_cert_chain_platform_specific(boost::asio::ssl::verify_context &verif
106
106
}
107
107
#endif
108
108
109
- #if defined(_MS_WINDOWS) && !defined(__cplusplus_winrt)
109
+ #if defined(_MS_WINDOWS) && !defined(__cplusplus_winrt) && !defined(_M_ARM)
110
110
111
111
// Helper RAII unique_ptrs to free Windows structures.
112
112
struct cert_free_certificate_context
Original file line number Diff line number Diff line change 34
34
#include < memory>
35
35
#include < thread>
36
36
37
+ // Force websocketpp to use C++ std::error_code instead of Boost.
38
+ #define _WEBSOCKETPP_CPP11_SYSTEM_ERROR_
39
+
37
40
#if ((!defined(WINAPI_FAMILY) || WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) && !defined(_M_ARM) && (!defined(_MSC_VER) || (_MSC_VER < 1900))) && !defined(CPPREST_EXCLUDE_WEBSOCKETS)
38
41
#if defined(__GNUC__)
39
42
#include " pplx/threadpool.h"
49
52
#undef ntohll
50
53
#undef htonll
51
54
#endif
52
- #define _WEBSOCKETPP_CPP11_SYSTEM_ERROR_
53
55
#include < websocketpp/config/asio_client.hpp>
54
56
#include < websocketpp/config/asio_no_tls_client.hpp>
55
57
#include < websocketpp/client.hpp>
You can’t perform that action at this time.
0 commit comments