mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-06-26 22:35:39 +02:00
Merge pull request #411 from redboltz/change_default_macro
Fixed existing code compile error problem.
This commit is contained in:
commit
13afc54ccc
@ -23,11 +23,11 @@ namespace type {
|
||||
|
||||
struct nil_t { };
|
||||
|
||||
#if defined(MSGPACK_USE_LEGACY_NIL)
|
||||
#if !defined(MSGPACK_DISABLE_LEGACY_NIL)
|
||||
|
||||
typedef nil_t nil;
|
||||
|
||||
#endif // defined(MSGPACK_USE_LEGACY_NIL)
|
||||
#endif // !defined(MSGPACK_DISABLE_LEGACY_NIL)
|
||||
|
||||
inline bool operator<(nil_t const& lhs, nil_t const& rhs) {
|
||||
return &lhs < &rhs;
|
||||
|
Loading…
x
Reference in New Issue
Block a user