mirror of https://github.com/oxen-io/lokinet
Endian defines fix for macOS
It seems `__BYTE_ORDER`/`__LITTLE_ENDIAN`/`__BIG_ENDIAN` aren't defined on macOS, so `if __BYTE_ORDER == __BIG_ENDIAN` was true which made macOS take the big endian path *twice* (which cancelled out the big endian conversion). This makes util/endian.hpp define __LITTLE_ENDIAN__ or __BIG_ENDIAN__ everywhere, and errors if it can't be set.pull/1078/head
parent
9283aac4b6
commit
3be7eb789b
Loading…
Reference in New Issue