#include "../include/Endianness.h" namespace environment { namespace endianness { bool hostEndianness () { TestEndian test; test.word = 0x000000FF; return (test.bytes.byte1 == 0xFF)?LittleEndian:BigEndian; } }; };