summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-07 20:37:59 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-07 20:37:59 +0000
commit9c28813beb4322b56e93734da7a6f81008243f0f (patch)
tree1fa92f23b835a4e20eb27873344d049f6dd05b43 /net
parent0f7d6234e2e45c236dedd424026c6a3e3c8080f4 (diff)
downloadchromium_src-9c28813beb4322b56e93734da7a6f81008243f0f.zip
chromium_src-9c28813beb4322b56e93734da7a6f81008243f0f.tar.gz
chromium_src-9c28813beb4322b56e93734da7a6f81008243f0f.tar.bz2
Linux: add comment about MOZ_Z_ style names.
(Comment change only at the request of spot.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-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_