| 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 |
Thread2007.10.23 15:05 "Re: bad version number 10752", by Kai-uwe BehrmannHere is what Mike Sweet suggests: http://lists.freedesktop.org/archives/cairo/2006-October/008292.html in short: #ifdef __APPLE__ # ifdef __i386__ # define LITTLE_ENDIAN # undef BIG_ENDIAN # else # undef LITTLE_ENDIAN # define BIG_ENDIAN # endif /* __i386__ */ #endif /* __APPLE__ */ It is a pure compile time check and should run as well. It would have to be tested. kind regards Kai-Uwe Behrmann -- developing for colour management www.behrmann.name + www.oyranos.org + www.cinepaint.org Am 22.10.07, 13:57 -0500 schrieb Bob Friesenhahn: > Libtiff definitely checks at compile time. Runtime checking is often less > efficient. |
|||||||