diff options
author | 2022-04-01 13:05:55 +0200 | |
---|---|---|
committer | 2022-04-01 13:05:55 +0200 | |
commit | 5fdb83e34dbd4ac2bf6c4ff9da1b4048d849aa06 (patch) | |
tree | 73043bfd77a9361ef9484082d9bcf80c8c6d098b | |
parent | 1ac34c189d8e9cc7b05b17004066f6ae48afc19f (diff) | |
download | libimobiledevice-5fdb83e34dbd4ac2bf6c4ff9da1b4048d849aa06.tar.gz libimobiledevice-5fdb83e34dbd4ac2bf6c4ff9da1b4048d849aa06.tar.bz2 |
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 :)
-rw-r--r-- | include/endianness.h | 4 |
1 files 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 @@ | |||
113 | && !defined(__FLOAT_WORD_ORDER__)) \ | 113 | && !defined(__FLOAT_WORD_ORDER__)) \ |
114 | || (defined(__FLOAT_WORD_ORDER__) \ | 114 | || (defined(__FLOAT_WORD_ORDER__) \ |
115 | && __FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__) | 115 | && __FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__) |
116 | #define float_bswap64(x) bswap64(x) | 116 | #define float_bswap64(x) __bswap_64(x) |
117 | #define float_bswap32(x) bswap32(x) | 117 | #define float_bswap32(x) __bswap_32(x) |
118 | #else | 118 | #else |
119 | #define float_bswap64(x) (x) | 119 | #define float_bswap64(x) (x) |
120 | #define float_bswap32(x) (x) | 120 | #define float_bswap32(x) (x) |