mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-01 23:31:03 +02:00

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>