From 5fdb83e34dbd4ac2bf6c4ff9da1b4048d849aa06 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 1 Apr 2022 13:05:55 +0200 Subject: include: Update endianness.h with changes from limd-glue The changes don't affect libimobiledevice itself but I don't want to have different versions of the same file across multiple repositories :) --- include/endianness.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/endianness.h b/include/endianness.h index 099877a..88b63db 100644 --- a/include/endianness.h +++ b/include/endianness.h @@ -113,8 +113,8 @@ && !defined(__FLOAT_WORD_ORDER__)) \ || (defined(__FLOAT_WORD_ORDER__) \ && __FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__) -#define float_bswap64(x) bswap64(x) -#define float_bswap32(x) bswap32(x) +#define float_bswap64(x) __bswap_64(x) +#define float_bswap32(x) __bswap_32(x) #else #define float_bswap64(x) (x) #define float_bswap32(x) (x) -- cgit v1.1-32-gdbae