File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
inc/cpp-pcp-client/protocol/v1 Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Dependencies
16
16
17
17
- a C++11 compiler (clang/gcc 4.7)
18
18
- CMake (3.2 or newer)
19
- - Boost (1.54 or newer)
19
+ - Boost (1.55 or newer)
20
20
- OpenSSL
21
21
- [ leatherman] [ leatherman ] , installed as a standalone library (0.5.1 or newer)
22
22
Original file line number Diff line number Diff line change 5
5
6
6
#include < leatherman/locale/locale.hpp>
7
7
8
- #include < boost/detail/ endian.hpp >
8
+ #include < boost/predef/other/ endian.h >
9
9
10
10
#include < string>
11
11
#include < vector>
@@ -27,7 +27,7 @@ typedef std::vector<uint8_t> SerializedMessage;
27
27
// Utility functions
28
28
//
29
29
30
- #ifdef BOOST_LITTLE_ENDIAN
30
+ #ifdef BOOST_ENDIAN_LITTLE_BYTE
31
31
32
32
LIBCPP_PCP_CLIENT_EXPORT uint32_t getNetworkNumber (const uint32_t & number);
33
33
LIBCPP_PCP_CLIENT_EXPORT uint32_t getHostNumber (const uint32_t & number);
@@ -42,7 +42,7 @@ inline uint32_t getHostNumber(const uint32_t& number) {
42
42
return number;
43
43
}
44
44
45
- #endif // BOOST_LITTLE_ENDIAN
45
+ #endif // BOOST_ENDIAN_LITTLE_BYTE
46
46
47
47
//
48
48
// Serialize
Original file line number Diff line number Diff line change 9
9
namespace PCPClient {
10
10
namespace v1 {
11
11
12
- #ifdef BOOST_LITTLE_ENDIAN
12
+ #if BOOST_ENDIAN_LITTLE_BYTE
13
13
14
14
uint32_t getNetworkNumber (const uint32_t & number)
15
15
{
@@ -21,7 +21,7 @@ uint32_t getHostNumber(const uint32_t& number)
21
21
return ntohl (number);
22
22
}
23
23
24
- #endif // BOOST_LITTLE_ENDIAN
24
+ #endif // BOOST_ENDIAN_LITTLE_BYTE
25
25
26
26
} // namespace v1
27
27
} // namespace PCPClient
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ INCLUDE(ExternalProject)
4
4
EXTERNALPROJECT_ADD (
5
5
websocketpp
6
6
PREFIX "${PROJECT_BINARY_DIR} "
7
- URL "file://${VENDOR_DIRECTORY} /websocketpp-0.8.1 .zip"
8
- URL_MD5 "af0385e19ae5d37b087b1c73b176f10d "
7
+ URL "file://${VENDOR_DIRECTORY} /websocketpp-0.8.2 .zip"
8
+ URL_MD5 "87d06d8ce62767602cb339d46b6664a1 "
9
9
CONFIGURE_COMMAND ""
10
10
BUILD_COMMAND ""
11
11
BUILD_IN_SOURCE 1
You can’t perform that action at this time.
0 commit comments