changed ENDIAN_* to *_ENDIAN_ORDER