Skip to content

Commit 13afc54

Browse files
committed
Merge pull request #411 from redboltz/change_default_macro
Fixed existing code compile error problem.
2 parents 79222b6 + 2865a96 commit 13afc54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/msgpack/adaptor/nil.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ namespace type {
2323

2424
struct nil_t { };
2525

26-
#if defined(MSGPACK_USE_LEGACY_NIL)
26+
#if !defined(MSGPACK_DISABLE_LEGACY_NIL)
2727

2828
typedef nil_t nil;
2929

30-
#endif // defined(MSGPACK_USE_LEGACY_NIL)
30+
#endif // !defined(MSGPACK_DISABLE_LEGACY_NIL)
3131

3232
inline bool operator<(nil_t const& lhs, nil_t const& rhs) {
3333
return &lhs < &rhs;

0 commit comments

Comments
 (0)