File tree Expand file tree Collapse file tree 3 files changed +1
-38
lines changed
libs/websocketpp/websocketpp
tests/functional/websockets/utilities Expand file tree Collapse file tree 3 files changed +1
-38
lines changed Original file line number Diff line number Diff line change 3030
3131#include < algorithm>
3232#include < string>
33+ #include < array>
3334
3435#include < websocketpp/common/system_error.hpp>
3536#include < websocketpp/common/network.hpp>
Original file line number Diff line number Diff line change 3535#pragma GCC diagnostic ignored "-Wconversion"
3636#pragma GCC diagnostic ignored "-Wunused-parameter"
3737#pragma GCC diagnostic ignored "-Wignored-qualifiers"
38- #if defined(__APPLE__)
39- #include " stdlib.h"
40- // Issue caused by iOS SDK 8.0
41- #pragma push_macro("ntohll")
42- #pragma push_macro("htonll")
43- #undef ntohll
44- #undef htonll
45- #endif
46- #define _WEBSOCKETPP_NULLPTR_TOKEN_ 0
4738#include < websocketpp/config/asio_client.hpp>
4839#include < websocketpp/config/asio_no_tls_client.hpp>
4940#include < websocketpp/client.hpp>
50- #if defined(__APPLE__)
51- #pragma pop_macro("htonll")
52- #pragma pop_macro("ntohll")
53- #endif
5441#pragma GCC diagnostic pop
5542#else /* __GNUC__ */
5643#if defined(_WIN32)
5744#pragma warning( push )
5845#pragma warning( disable : 4100 4127 4512 4996 4701 4267 )
59- #if _MSC_VER >= 1800
6046#define _WEBSOCKETPP_CPP11_STL_
6147#define _WEBSOCKETPP_CONSTEXPR_TOKEN_
6248#if _MSC_VER < 1900
6349#define _WEBSOCKETPP_NOEXCEPT_TOKEN_
6450#endif
65- #else
66- #define _WEBSOCKETPP_NULLPTR_TOKEN_ 0
67- #endif
6851#endif
6952
7053#include < websocketpp/config/asio_client.hpp>
Original file line number Diff line number Diff line change 3232#ifdef _WIN32
3333#pragma warning( push )
3434#pragma warning(disable : 4100 4127 4996 4512 4701 4267 4067 4503 4005)
35- #if defined(_MSC_VER) && (_MSC_VER >= 1800)
3635#define _WEBSOCKETPP_CPP11_STL_
3736#define _WEBSOCKETPP_CONSTEXPR_TOKEN_
3837#if _MSC_VER < 1900
3938#define _WEBSOCKETPP_NOEXCEPT_TOKEN_
4039#endif
41- #else
42- #define _WEBSOCKETPP_NULLPTR_TOKEN_ 0
43- #endif
4440#endif /* _WIN32 */
4541
46- #if defined(__APPLE__)
47- #include " stdlib.h"
48- // Issue caused by iOS SDK 8.0
49- #pragma push_macro("ntohll")
50- #pragma push_macro("htonll")
51- #undef ntohll
52- #undef htonll
53- #endif
54-
55- #if defined(__clang__) && (defined(ANDROID) || defined(__ANDROID__))
56- #define _WEBSOCKETPP_NULLPTR_TOKEN_ 0
57- #endif
58-
5942#include < websocketpp/config/asio_no_tls.hpp>
6043#include < websocketpp/server.hpp>
61- #if defined(__APPLE__)
62- #pragma pop_macro("htonll")
63- #pragma pop_macro("ntohll")
64- #endif
6544
6645#ifdef _WIN32
6746#pragma warning( pop )
You can’t perform that action at this time.
0 commit comments