From 0dabdfe85732147d1c8d6016e8c3e40522104568 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 8 May 2023 23:17:15 +0200 Subject: Hardcode HOST_FILLORDER to FILLORDER_LSB2MSB, and make 'H' flag of TIFFOpen() to warn and an alias of FILLORDER_MSB2LSB --- doc/internals.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'doc/internals.rst') diff --git a/doc/internals.rst b/doc/internals.rst index 86014d9f..7ea1b5e5 100644 --- a/doc/internals.rst +++ b/doc/internals.rst @@ -189,11 +189,9 @@ as possible in two files: :file:`tiffcomp.h` and operating system-specific routines to do I/O and I/O-related operations. The UNIX (:file:`tif_unix.c`) code has had the most use. -Native CPU byte order is determined on the fly by -the library and does not need to be specified. -The :c:macro:`HOST_FILLORDER` and :c:macro:`HOST_BIGENDIAN` -definitions are not currently used, but may be employed by -codecs for optimization purposes. +Native CPU byte order is determined through the :c:macro:`WORDS_BIGENDIAN` +definition, which must be set to the appropriate value in :file:`tif_config.h` +by the build system. The following defines control general portability: -- cgit v1.2.1