adding endian macros