X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8414a40c52191d4c7cfeea74df22d9d64cbec415..7198c3368055d88249a338eb33b21f051f674806:/src/tiff/libtiff/tif_predict.c diff --git a/src/tiff/libtiff/tif_predict.c b/src/tiff/libtiff/tif_predict.c index e487d5b87b..b4a7dfbe69 100644 --- a/src/tiff/libtiff/tif_predict.c +++ b/src/tiff/libtiff/tif_predict.c @@ -317,7 +317,7 @@ fpAcc(TIFF* tif, tidata_t cp0, tsize_t cc) for (count = 0; count < wc; count++) { uint32 byte; for (byte = 0; byte < bps; byte++) { -#if WORDS_BIGENDIAN +#ifdef WORDS_BIGENDIAN cp[bps * count + byte] = tmp[byte * wc + count]; #else cp[bps * count + byte] = @@ -459,7 +459,7 @@ fpDiff(TIFF* tif, tidata_t cp0, tsize_t cc) for (count = 0; count < wc; count++) { uint32 byte; for (byte = 0; byte < bps; byte++) { -#if WORDS_BIGENDIAN +#ifdef WORDS_BIGENDIAN cp[byte * wc + count] = tmp[bps * count + byte]; #else cp[(bps - byte - 1) * wc + count] =