From 8e16df2c3f0dbe0f8a819e1913562073cf721636 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sun, 18 Mar 2012 09:29:44 -0700 Subject: More fixes for gzopen_w(). Also need to #include for zlib.h, and need to workaround the inability to use wide characters in constructed error messages with zlib's interface. --- zconf.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zconf.h') diff --git a/zconf.h b/zconf.h index f9a5fa7..8c6f945 100644 --- a/zconf.h +++ b/zconf.h @@ -402,6 +402,10 @@ typedef uLong FAR uLongf; # endif #endif +#ifdef _WIN32 +# include /* for wchar_t */ +#endif + /* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and * "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even * though the former does not conform to the LFS document), but considering -- cgit v1.2.1