diff options
author | Even Rouault <even.rouault@spatialys.com> | 2023-05-08 23:17:57 +0200 |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2023-05-09 14:47:28 +0200 |
commit | 6fd4237b0b8f03eaa51f28c9efcf89600d005bf7 (patch) | |
tree | a43abcf9495462acfa6ab9e92bbec27ba8667152 | |
parent | cea60470546fcb8bc1bb937512485aae15367b5d (diff) | |
download | libtiff-git-6fd4237b0b8f03eaa51f28c9efcf89600d005bf7.tar.gz |
tif_lerc.c: use WORDS_BIGENDIAN instead of HOST_BIGENDIAN
-rw-r--r-- | libtiff/tif_lerc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtiff/tif_lerc.c b/libtiff/tif_lerc.c index 99de713c..4f357a60 100644 --- a/libtiff/tif_lerc.c +++ b/libtiff/tif_lerc.c @@ -517,7 +517,7 @@ static int LERCPreDecode(TIFF *tif, uint16_t s) { const unsigned nb_pixels = sp->segment_width * sp->segment_height; unsigned i; -#if HOST_BIGENDIAN +#if WORDS_BIGENDIAN const unsigned char nan_bytes[] = {0x7f, 0xc0, 0, 0}; #else const unsigned char nan_bytes[] = {0, 0, 0xc0, 0x7f}; |