aboutsummaryrefslogtreecommitdiffhomepage
path: root/util/endian-util.h
Commit message (Collapse)AuthorAge
* util: detect byte orderGravatar David Bremner2013-11-27
Unfortunately old versions of GCC and clang do not provide byte order macros, so we re-invent them. If UTIL_BYTE_ORDER is not defined or defined to 0, we fall back to macros supported by recent versions of GCC and clang