We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2d5d7e commit 1aa3893Copy full SHA for 1aa3893
Release/tests/functional/websockets/utilities/test_websocket_server.cpp
@@ -52,9 +52,23 @@
52
#endif
53
#endif /* _WIN32 */
54
55
+#if defined(__APPLE__)
56
+#include "stdlib.h"
57
+// Issue caused by iOS SDK 8.0
58
+#pragma push_macro("ntohll")
59
+#pragma push_macro("htonll")
60
+#undef ntohll
61
+#undef htonll
62
+#endif
63
+
64
#include <websocketpp/config/asio_no_tls.hpp>
65
#include <websocketpp/server.hpp>
66
67
68
+#pragma pop_macro("htonll")
69
+#pragma pop_macro("ntohll")
70
71
72
#ifdef _WIN32
73
#pragma warning( pop )
74
0 commit comments