[Zlib-devel] [PATCH] Move gzflags to zutil.c
jbowler at acm.org
jbowler at acm.org
Thu Feb 2 02:59:20 EST 2012
From: zlib-devel-bounces at madler.net [mailto:zlib-devel-bounces at madler.net] On Behalf Of Mark Adler
>Ah, that's the problem. There should be no library headers included for Z_SOLO. I'll fix that case.
Enclosing the #include in #ifndef Z_SOLO does remove the compilation failure. You're right, however; there is no way limits.h should define ptrdiff_t (or, indeed, any of the other stuff in crtdefs.h).
It may be that I need to define something like the GCC --strict-ansi to persuade Visual Studio to be more conformant.
John Bowler <jbowler at acm.org>
More information about the Zlib-devel
mailing list