8 lines
165 B
C
8 lines
165 B
C
|
#include <endian.h>
|
||
|
|
||
|
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||
|
#define HOST_ELFDATA ELFDATA2LSB
|
||
|
#elif __BYTE_ORDER == __BIG_ENDIAN
|
||
|
#define HOST_ELFDATA ELFDATA2MSB
|
||
|
#endif
|