/* Return nonzero if given file was written in big-endian order.  */
int TIFFIsBigEndian(TIFF *tif)
/* Return nonzero if given file was written in big-endian order.  */
int TIFFIsBigEndian(TIFF *tif)
{
	return (tif->tif_header.common.tiff_magic == TIFF_BIGENDIAN);
}