include ahead of the predef headers. The solution was to: use the OSX machine/endian.h header, and only allow a single OS to be detected at once. Test cases added for both conditions on OSX.
avoid setting multiple endianness and to avoid including extra headers. Addition of some documentation to endian detection.