1 // This is an incomplete & imprecice implementation of the 2 // standard file by the same name 3 #ifndef __MINGW_ENDIAN__ 4 #define __MINGW_ENDIAN__ 5 6 #ifdef MINGW // Only for cross compilation to mingw 7 8 9 #define __LITTLE_ENDIAN 1234 10 #define __BIG_ENDIAN 4321 11 12 #define __BYTE_ORDER __LITTLE_ENDIAN 13 14 #endif // MINGW 15 #endif