mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-02 07:31: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 __cplusplus < 201103L
|
||||
#if defined(MSGPACK_USE_CPP03)
|
||||
|
||||
#if !defined(nullptr)
|
||||
# if _MSC_VER < 1600
|
||||
@ -101,7 +100,7 @@ struct is_same<T, T> : true_type {};
|
||||
} // namespace msgpack
|
||||
|
||||
|
||||
#else // __cplusplus < 201103L
|
||||
#else // MSGPACK_USE_CPP03
|
||||
|
||||
#include <memory>
|
||||
#include <tuple>
|
||||
@ -128,8 +127,6 @@ MSGPACK_API_VERSION_NAMESPACE(v1) {
|
||||
} // namespace msgpack
|
||||
|
||||
|
||||
#endif // __cplusplus < 201103L
|
||||
|
||||
#endif // __cplusplus
|
||||
#endif // MSGPACK_USE_CPP03
|
||||
|
||||
#endif /* msgpack/cpp_config.hpp */
|
||||
|
Loading…
x
Reference in New Issue
Block a user