mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-30 09:00:48 +08:00
update msgpack to 4.1.1
This commit is contained in:
+6
-4
@@ -11,6 +11,8 @@
|
||||
#define MSGPACK_V1_CPP_CONFIG_HPP
|
||||
|
||||
#include "msgpack/cpp_config_decl.hpp"
|
||||
#include "msgpack/cpp_version.hpp"
|
||||
#include "msgpack/versioning.hpp"
|
||||
|
||||
#if defined(MSGPACK_USE_CPP03)
|
||||
|
||||
@@ -126,14 +128,14 @@ template<class T> struct is_pointer : detail::is_pointer_helper<typename remove_
|
||||
|
||||
#endif // MSGPACK_USE_CPP03
|
||||
|
||||
#if __cplusplus >= 201402L
|
||||
#if MSGPACK_CPP_VERSION >= 201402L
|
||||
#if defined(_MSC_VER)
|
||||
#define MSGPACK_DEPRECATED(msg) __declspec(deprecated(msg))
|
||||
#else // _MSC_VER 1914+ with /Zc:__cplusplus, @see https://docs.microsoft.com/cpp/build/reference/zc-cplusplus
|
||||
#else
|
||||
#define MSGPACK_DEPRECATED(msg) [[deprecated(msg)]]
|
||||
#endif
|
||||
#else // __cplusplus >= 201402L
|
||||
#else // MSGPACK_CPP_VERSION >= 201402L
|
||||
#define MSGPACK_DEPRECATED(msg)
|
||||
#endif // __cplusplus >= 201402L
|
||||
#endif // MSGPACK_CPP_VERSION >= 201402L
|
||||
|
||||
#endif // MSGPACK_V1_CPP_CONFIG_HPP
|
||||
|
||||
Reference in New Issue
Block a user