Revised endian.h