mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
72e0d1a424
msgpack/predef/other/endian.h always defines both MSGPACK_ENDIAN_LITTLE_BYTE and MSGPACK_ENDIAN_BIG_BYTE, but they're defined to a true or false value depending on whether the system is little/big endian. Fix this condition to check the truthiness rather than whether it is defined, like the other locations this macro is checked. Closes #403 Signed-off-by: James McCoy <jamessan@jamessan.com>