windowscodecs: Workaround libtiff bug when it defines toff_t as 32-bit for 32-bit builds. Take 2.
Alexandre Julliard
julliard at winehq.org
Tue Jul 30 06:39:51 CDT 2013
Dmitry Timoshkov <dmitry at baikal.ru> writes:
> Alexandre Julliard <julliard at winehq.org> wrote:
>
>> You shouldn't check the version, but the actual problem (i.e. the size
>> of the offending type). Also please avoid unnecessary changes.
>
> The offending type is toff_t, it's size is either 32 or 64-bit depending
> on whether it's libtiff 3.0 or 4.0, or whether it's broken 4.0 headers.
> So I don't see how checking for the size of toff_t makes it possible to
> differentiate between 3.x, 4.x and broken 4.x headers.
You can test TIFF_UINT64_T or something along those lines.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list