30 Jul
2013
30 Jul
'13
11:39 a.m.
Dmitry Timoshkov <dmitry(a)baikal.ru> writes:
Alexandre Julliard <julliard(a)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(a)winehq.org