summaryrefslogtreecommitdiff
path: root/zconf.h.cmakein
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2012-03-16 20:53:09 -0700
committerMark Adler <madler@alumni.caltech.edu>2012-03-16 20:53:09 -0700
commitdbe0bed739c26a2c36319794108cb87ad77c5469 (patch)
treed09f1697ce762b88f7a2d1cff1969fb9ecee09d3 /zconf.h.cmakein
parenta3881cc745729cde05d921b3750e2d56889b5d26 (diff)
downloadzlib-dbe0bed739c26a2c36319794108cb87ad77c5469.tar.gz
Add gzopen_w() in Windows for wide character path names.
Diffstat (limited to 'zconf.h.cmakein')
-rw-r--r--zconf.h.cmakein3
1 files changed, 3 insertions, 0 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein
index 81a7b7a..66368ad 100644
--- a/zconf.h.cmakein
+++ b/zconf.h.cmakein
@@ -75,6 +75,9 @@
# define gzoffset64 z_gzoffset64
# define gzopen z_gzopen
# define gzopen64 z_gzopen64
+# ifdef _WIN32
+# define gzopen_w z_gzopen_w
+# endif
# define gzprintf z_gzprintf
# define gzputc z_gzputc
# define gzputs z_gzputs