Skip to content

Commit cab5001

Browse files
authored
Merge pull request #254 from McdonaldSeanp/PA3244
(PA-3244) Updates to support boost 1.73
2 parents fb904fb + 36ec2eb commit cab5001

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Dependencies
1616

1717
- a C++11 compiler (clang/gcc 4.7)
1818
- CMake (3.2 or newer)
19-
- Boost (1.54 or newer)
19+
- Boost (1.55 or newer)
2020
- OpenSSL
2121
- [leatherman][leatherman], installed as a standalone library (0.5.1 or newer)
2222

lib/inc/cpp-pcp-client/protocol/v1/serialization.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#include <leatherman/locale/locale.hpp>
77

8-
#include <boost/detail/endian.hpp>
8+
#include <boost/predef/other/endian.h>
99

1010
#include <string>
1111
#include <vector>
@@ -27,7 +27,7 @@ typedef std::vector<uint8_t> SerializedMessage;
2727
// Utility functions
2828
//
2929

30-
#ifdef BOOST_LITTLE_ENDIAN
30+
#ifdef BOOST_ENDIAN_LITTLE_BYTE
3131

3232
LIBCPP_PCP_CLIENT_EXPORT uint32_t getNetworkNumber(const uint32_t& number);
3333
LIBCPP_PCP_CLIENT_EXPORT uint32_t getHostNumber(const uint32_t& number);
@@ -42,7 +42,7 @@ inline uint32_t getHostNumber(const uint32_t& number) {
4242
return number;
4343
}
4444

45-
#endif // BOOST_LITTLE_ENDIAN
45+
#endif // BOOST_ENDIAN_LITTLE_BYTE
4646

4747
//
4848
// Serialize

lib/src/protocol/v1/serialization.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace PCPClient {
1010
namespace v1 {
1111

12-
#ifdef BOOST_LITTLE_ENDIAN
12+
#if BOOST_ENDIAN_LITTLE_BYTE
1313

1414
uint32_t getNetworkNumber(const uint32_t& number)
1515
{
@@ -21,7 +21,7 @@ uint32_t getHostNumber(const uint32_t& number)
2121
return ntohl(number);
2222
}
2323

24-
#endif // BOOST_LITTLE_ENDIAN
24+
#endif // BOOST_ENDIAN_LITTLE_BYTE
2525

2626
} // namespace v1
2727
} // namespace PCPClient
Binary file not shown.

vendor/websocketpp.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ INCLUDE(ExternalProject)
44
EXTERNALPROJECT_ADD(
55
websocketpp
66
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"
99
CONFIGURE_COMMAND ""
1010
BUILD_COMMAND ""
1111
BUILD_IN_SOURCE 1

0 commit comments

Comments
 (0)