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 30
30
31
31
#include < algorithm>
32
32
#include < string>
33
+ #include < array>
33
34
34
35
#include < websocketpp/common/system_error.hpp>
35
36
#include < websocketpp/common/network.hpp>
Original file line number Diff line number Diff line change 35
35
#pragma GCC diagnostic ignored "-Wconversion"
36
36
#pragma GCC diagnostic ignored "-Wunused-parameter"
37
37
#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
47
38
#include < websocketpp/config/asio_client.hpp>
48
39
#include < websocketpp/config/asio_no_tls_client.hpp>
49
40
#include < websocketpp/client.hpp>
50
- #if defined(__APPLE__)
51
- #pragma pop_macro("htonll")
52
- #pragma pop_macro("ntohll")
53
- #endif
54
41
#pragma GCC diagnostic pop
55
42
#else /* __GNUC__ */
56
43
#if defined(_WIN32)
57
44
#pragma warning( push )
58
45
#pragma warning( disable : 4100 4127 4512 4996 4701 4267 )
59
- #if _MSC_VER >= 1800
60
46
#define _WEBSOCKETPP_CPP11_STL_
61
47
#define _WEBSOCKETPP_CONSTEXPR_TOKEN_
62
48
#if _MSC_VER < 1900
63
49
#define _WEBSOCKETPP_NOEXCEPT_TOKEN_
64
50
#endif
65
- #else
66
- #define _WEBSOCKETPP_NULLPTR_TOKEN_ 0
67
- #endif
68
51
#endif
69
52
70
53
#include < websocketpp/config/asio_client.hpp>
Original file line number Diff line number Diff line change 32
32
#ifdef _WIN32
33
33
#pragma warning( push )
34
34
#pragma warning(disable : 4100 4127 4996 4512 4701 4267 4067 4503 4005)
35
- #if defined(_MSC_VER) && (_MSC_VER >= 1800)
36
35
#define _WEBSOCKETPP_CPP11_STL_
37
36
#define _WEBSOCKETPP_CONSTEXPR_TOKEN_
38
37
#if _MSC_VER < 1900
39
38
#define _WEBSOCKETPP_NOEXCEPT_TOKEN_
40
39
#endif
41
- #else
42
- #define _WEBSOCKETPP_NULLPTR_TOKEN_ 0
43
- #endif
44
40
#endif /* _WIN32 */
45
41
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
-
59
42
#include < websocketpp/config/asio_no_tls.hpp>
60
43
#include < websocketpp/server.hpp>
61
- #if defined(__APPLE__)
62
- #pragma pop_macro("htonll")
63
- #pragma pop_macro("ntohll")
64
- #endif
65
44
66
45
#ifdef _WIN32
67
46
#pragma warning( pop )
You can’t perform that action at this time.
0 commit comments