projects
/
platform
/
upstream
/
zlib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a8e3bd
)
Fix gzgetc undefine when Z_PREFIX set [Turk].
author
Mark Adler
<madler@alumni.caltech.edu>
Fri, 18 May 2012 04:13:23 +0000
(21:13 -0700)
committer
Mark Adler
<madler@alumni.caltech.edu>
Fri, 18 May 2012 04:13:23 +0000
(21:13 -0700)
gzread.c
patch
|
blob
|
history
diff --git
a/gzread.c
b/gzread.c
index
3493d34
..
8ace830
100644
(file)
--- a/
gzread.c
+++ b/
gzread.c
@@
-378,7
+378,11
@@
int ZEXPORT gzread(file, buf, len)
}
/* -- see zlib.h -- */
-#undef gzgetc
+#ifdef Z_PREFIX_SET
+# undef z_gzgetc
+#else
+# undef gzgetc
+#endif
int ZEXPORT gzgetc(file)
gzFile file;
{