[Zlib-devel] zlib gzopen_w function added

Vincent Torri vtorri at univ-evry.fr
Sat Mar 17 15:16:54 EDT 2012



On Sat, 17 Mar 2012, jbowler at acm.org wrote:

> From: Jan Seiffert [mailto:kaffeemonster at googlemail.com]
>> Such an auto switch interface with #ifdef UNICODE would have to be included under a new name.
>
> Yes, you are correct, and that name would only exist on Windows so it's probably not much use.  It would be something like:
>
> #ifdef WINDOWS
> #if UNICODE
> #define GZOpen gzopen
> #else
> #define GZOpen gzopen_w
> #endif

imho, if UNICODE, it's wide char API that is selected, not mbcs.

Vincent Torri

> #endif
>
> John Bowler <jbowler at acm.org>
>
>
>
> _______________________________________________
> Zlib-devel mailing list
> Zlib-devel at madler.net
> http://mail.madler.net/mailman/listinfo/zlib-devel_madler.net
>
>




More information about the Zlib-devel mailing list