windowscodecs: Workaround libtiff bug when it defines toff_t as 32-bit for 32-bit builds. Take 2.

Dmitry Timoshkov dmitry at baikal.ru
Tue Jul 30 06:19:50 CDT 2013


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.

-- 
Dmitry.



More information about the wine-devel mailing list