diff options
Diffstat (limited to 'lib/bswap.h')
-rw-r--r-- | lib/bswap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bswap.h b/lib/bswap.h index 30fcac54..1fe51947 100644 --- a/lib/bswap.h +++ b/lib/bswap.h @@ -3,7 +3,7 @@ #include <inttypes.h> -#if __BYTE_ORDER == __LITTLE_ENDIAN +#ifdef CONFIG_LITTLE_ENDIAN static inline uint32_t __be32_to_cpu(uint32_t val) { uint32_t c1, c2, c3, c4; |