summaryrefslogtreecommitdiffstats
path: root/debian/rules.d/scripts/mod/elfconfig.h
blob: 8c90ea6002c928c8caf24dc5e8742b8135ccc79e (plain)
1
2
3
4
5
6
7
#include <endian.h>

#if __BYTE_ORDER == __LITTLE_ENDIAN
#define HOST_ELFDATA ELFDATA2LSB
#elif __BYTE_ORDER == __BIG_ENDIAN
#define HOST_ELFDATA ELFDATA2MSB
#endif