* record.c (netorder64): Use BFD_ENDIAN_LITTLE not LITTLE_ENDIAN.
(netorder32): Ditto.
(netorder16): Ditto.
static inline uint64_t
netorder64 (uint64_t fromfile)
{
- return (BYTE_ORDER == LITTLE_ENDIAN)
+ return (BYTE_ORDER == BFD_ENDIAN_LITTLE)
? bswap_64 (fromfile)
: fromfile;
}
static inline uint32_t
netorder32 (uint32_t fromfile)
{
- return (BYTE_ORDER == LITTLE_ENDIAN)
+ return (BYTE_ORDER == BFD_ENDIAN_LITTLE)
? bswap_32 (fromfile)
: fromfile;
}
static inline uint16_t
netorder16 (uint16_t fromfile)
{
- return (BYTE_ORDER == LITTLE_ENDIAN)
+ return (BYTE_ORDER == BFD_ENDIAN_LITTLE)
? bswap_16 (fromfile)
: fromfile;
}