| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2006.04.01 18:56 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Ping Shu> Libtiff itself has this dependency, but not the public headers which > should be used by dependent applications. What header are you > including which brings in the WORD_BIGENDIAN requirement? > > I am pretty sure that pre-configure libtiff also depended on an endian > define, but the name was different. Yes, an app shoudl be fine if it uses the public header files and system installed libtiff. If an app builds the libtiff (e.g. porting to a Portable Media Player), then the developers may think twice upgrading to 3.8.2. A related issue I found is the use of #ifdef WORDS_BIGENDIAN ...1 #else ...2 #endif Section 1 is used if you do #define WORDS_BIGENDIAN 0 and hope for section 2. The other def HOST_ENDIAN is not in use and it is either 0 or 1. The use of WORDS_ENDIAN doesn't really improve performance. Ping |
|||||||