#define MGUI_BYTEORDER MGUI_LIL_ENDIAN |
The byte order (endianness) of the target system.
This macro will be either defined to MGUI_LIL_ENDIAN or MGUI_BIG_ENDIAN. You can use the code like below
#if MGUI_BYTEORDER == MGUI_LIL_ENDIAN ... // code for little endian system. #else ... // code for big endian system. #endif
to write endianness independent code.