diff options
Diffstat (limited to 'archival/libunarchive')
-rw-r--r-- | archival/libunarchive/decompress_unlzma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/libunarchive/decompress_unlzma.c b/archival/libunarchive/decompress_unlzma.c index 62811dd..9c53e0a 100644 --- a/archival/libunarchive/decompress_unlzma.c +++ b/archival/libunarchive/decompress_unlzma.c @@ -119,10 +119,10 @@ int unlzma(int src_fd, int dst_fd) pos_state_mask = (1 << pb) - 1; literal_pos_mask = (1 << lp) - 1; -#if __BYTE_ORDER == __BIG_ENDIAN +#if BB_BIG_ENDIAN header.dict_size = bswap_32(header.dict_size); header.dst_size = bswap_64(header.dst_size); -#endif /* __BYTE_ORDER */ +#endif if (header.dict_size == 0) header.dict_size = 1; |