|
@@ -195,11 +195,11 @@ static const char *sym_name(const char *sym_strtab, Elf32_Sym *sym)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#if __BYTE_ORDER == __LITTLE_ENDIAN
|
|
|
|
|
|
+#if BYTE_ORDER == LITTLE_ENDIAN
|
|
#define le16_to_cpu(val) (val)
|
|
#define le16_to_cpu(val) (val)
|
|
#define le32_to_cpu(val) (val)
|
|
#define le32_to_cpu(val) (val)
|
|
#endif
|
|
#endif
|
|
-#if __BYTE_ORDER == __BIG_ENDIAN
|
|
|
|
|
|
+#if BYTE_ORDER == BIG_ENDIAN
|
|
#define le16_to_cpu(val) bswap_16(val)
|
|
#define le16_to_cpu(val) bswap_16(val)
|
|
#define le32_to_cpu(val) bswap_32(val)
|
|
#define le32_to_cpu(val) bswap_32(val)
|
|
#endif
|
|
#endif
|