[Zlib-devel] zlib gzopen_w function added
jbowler at acm.org
jbowler at acm.org
Sat Mar 17 13:20:06 EDT 2012
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
#endif
John Bowler <jbowler at acm.org>
More information about the Zlib-devel
mailing list