[Zlib-devel] Avoiding WIN* macros in GNU code
Dmitriy Anisimkov
anisimkov at omsknet.ru
Sun Jun 15 07:17:01 EDT 2003
Cosmin Truta wrote:
> On Fri, 13 Jun 2003, Greg Roelofs wrote:
>
>>It was written by two people, Jean-loup Gailly and Mark Adler, and is
>>still maintained by some linear combination of them. It has never
>>been GNU software or under a GNU license [...]
>
> I know. Mark only asked us to take care of the Win32 support.
I just want to note that ZLib could be successfully compiled and used under Win32 platform without any WIN*** macroses in it. As I understand the WIN*** macroses was added just for support Windows special calling convention (STDCALL). I see so much talks about it, and think, that it would be better for ZLib to do not have WIN**** macroses at all, it would be more portable this way, and would be usable under Win32 too.
I guess some applications using STDCALL calling convention for ZLib calls. We have a special makefiles for the Win32 platform in the /win32 folder, why don't have the STDCALL build mode only there, and use external macroses for support STDCALL calling convension ?
More information about the Zlib-devel
mailing list