[Zlib-devel] zlib 1.2.4.1 beta
William A. Rowe Jr.
wrowe at rowe-clan.net
Mon Mar 29 02:01:23 EDT 2010
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.
More information about the Zlib-devel
mailing list