summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/base/gzip_filter.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/base/gzip_filter.cc b/net/base/gzip_filter.cc
index a595442..f1920da 100644
--- a/net/base/gzip_filter.cc
+++ b/net/base/gzip_filter.cc
@@ -6,6 +6,10 @@
#if defined(USE_SYSTEM_ZLIB)
#include <zlib.h>
+// The code below uses the MOZ_Z_ forms of these functions in order that things
+// should work on Windows. In order to make this code cross platform, we map
+// back to the normal functions here in the case that we are using the system
+// zlib.
#define MOZ_Z_inflate inflate
#define MOZ_Z_inflateEnd inflateEnd
#define MOZ_Z_inflateInit2_ inflateInit2_