mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-02 15:41:38 +02:00
Fix VS2015 still using C++03 API
This commit is contained in:
parent
dea3190d36
commit
aad5b96083
@ -32,8 +32,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if defined __cplusplus
|
#if defined(MSGPACK_USE_CPP03)
|
||||||
#if __cplusplus < 201103L
|
|
||||||
|
|
||||||
#if !defined(nullptr)
|
#if !defined(nullptr)
|
||||||
# if _MSC_VER < 1600
|
# if _MSC_VER < 1600
|
||||||
@ -101,7 +100,7 @@ struct is_same<T, T> : true_type {};
|
|||||||
} // namespace msgpack
|
} // namespace msgpack
|
||||||
|
|
||||||
|
|
||||||
#else // __cplusplus < 201103L
|
#else // MSGPACK_USE_CPP03
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
@ -128,8 +127,6 @@ MSGPACK_API_VERSION_NAMESPACE(v1) {
|
|||||||
} // namespace msgpack
|
} // namespace msgpack
|
||||||
|
|
||||||
|
|
||||||
#endif // __cplusplus < 201103L
|
#endif // MSGPACK_USE_CPP03
|
||||||
|
|
||||||
#endif // __cplusplus
|
|
||||||
|
|
||||||
#endif /* msgpack/cpp_config.hpp */
|
#endif /* msgpack/cpp_config.hpp */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user