[Zlib-devel] zlib 1.2.4.1 beta

Vincent Torri vtorri at univ-evry.fr
Mon Mar 29 02:04:13 EDT 2010



On Mon, 29 Mar 2010, William A. Rowe Jr. wrote:

> On 3/29/2010 12:59 AM, Vincent Torri wrote:
>>>
>>> Mark, this no longer compiles in the most recent MS platforms because
>>> off_t
>>> is (as I mentioned) available from sys/types.h.  zconf.h encloses this
>>> header
>>> in an unrelated test for unistd.  The following patch would fix;
>>
>> in that case, something like:
>>
>> #if _MSC_VER >= ***
>> # include <sys/types.h>
>> #endif
>>
>> would work ?
>
> No; the idea is to make the most generally applicable corrections, not the
> most cryptic, exceptional and single-purpose changes.

imho, zconf.h is, globally, completely cryptic anyway...

Vincent Torri




More information about the Zlib-devel mailing list