[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: windowscodecs: Workaround libtiff bug when it defines toff_t as 32-bit for 32-bit builds. Take 2
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2013-07-30 11:39:51
Message-ID: 87siywuvi0.fsf () wine ! dyndns ! org
[Download RAW message or body]

Dmitry Timoshkov <dmitry@baikal.ru> writes:

> Alexandre Julliard <julliard@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@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic