[Zlib-devel] zlib 1.2.3.4 Winter Solstice Edition
Vincent Torri
vtorri at univ-evry.fr
Tue Dec 29 01:46:22 EST 2009
On Mon, 28 Dec 2009, Cosmin Truta wrote:
> On Tue, Dec 22, 2009 at 4:53 PM, Vincent Torri wrote:
>>
>>> diff -u ../../../zlib-1.2.3/zutil.h ./zutil.h
>>> --- ../../../zlib-1.2.3/zutil.h 2005-07-11 22:35:48.000000000 +0200
>>> +++ ./zutil.h 2008-07-22 00:29:38.000000000 +0200
>>> @@ -17,9 +17,7 @@
>>> #include "zlib.h"
>>>
>>> #ifdef STDC
>>> -# ifndef _WIN32_WCE
>>
>> about this one, _WIN32_WCE must not be include stddef.h, but __MINGW32CE__
>> must include it
>
> Assuming there will possibly be other gcc-based WinCE compilers in the
> future, besides MinGW32CE, I thing it's even better to state:
>
> _WIN32_WCE must not include stddef.h, but __GNUC__ must include it.
> In fact, stddef.h is one of the few headers that are guaranteed to
> come with any installation of gcc, regardless the platform.
you are right.
> On a side, I'm curious: what is the minimum _WIN32_WCE version that
> does provide stddef.h? It's a C89 (not C99) header!
_WIN32_WCE is used for something that is in the microsoft Windows CE SDK.
It does not provide stddef.h. Windows CE does not follow any standard. It
is a terrible OS. Cecking the version is not relevant wrt stddef.h
thank you for the comment :)
Vincent Torri
More information about the Zlib-devel
mailing list