mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-28 23:24:11 +02:00
type::nil is defined only if MSGPACK_USE_LEGACY_NIL in v2.
Note: In v1, type::nil is defined if NOT defined MSGPACK_DISABLE_LEGACY_NIL.
This commit is contained in:
parent
84932e62e9
commit
5ecb797d8a
@ -22,6 +22,12 @@ namespace type {
|
||||
|
||||
using v1::type::nil_t;
|
||||
|
||||
#if defined(MSGPACK_USE_LEGACY_NIL)
|
||||
|
||||
typedef nil_t nil;
|
||||
|
||||
#endif // defined(MSGPACK_USE_LEGACY_NIL)
|
||||
|
||||
using v1::type::operator<;
|
||||
using v1::type::operator==;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user