summaryrefslogtreecommitdiffstats
path: root/logic/GZip.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-09-10 00:02:02 +0200
committerPetr Mrázek <peterix@gmail.com>2015-09-10 00:02:02 +0200
commitdb5816b0a20aac63fb97188ea2034903db254bfa (patch)
tree56f45bfe3d74932dbaab4ff8c89da21544bcb10f /logic/GZip.cpp
parenta1fd50e920eba0f198b898e5df4ff5f60424d355 (diff)
downloadMultiMC-db5816b0a20aac63fb97188ea2034903db254bfa.tar
MultiMC-db5816b0a20aac63fb97188ea2034903db254bfa.tar.gz
MultiMC-db5816b0a20aac63fb97188ea2034903db254bfa.tar.lz
MultiMC-db5816b0a20aac63fb97188ea2034903db254bfa.tar.xz
MultiMC-db5816b0a20aac63fb97188ea2034903db254bfa.zip
GH-1227 fix zlib nonsense on Windows
Diffstat (limited to 'logic/GZip.cpp')
-rw-r--r--logic/GZip.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/logic/GZip.cpp b/logic/GZip.cpp
index 96d58ea8..5207f3f0 100644
--- a/logic/GZip.cpp
+++ b/logic/GZip.cpp
@@ -8,11 +8,7 @@ int wrap_inflate (z_streamp strm, int flush)
return inflate(strm, flush);
}
-#ifdef inflate
- #undef inflate
-#endif
-
-bool GZip::inflate(const QByteArray &compressedBytes, QByteArray &uncompressedBytes)
+bool GZip::decompress(const QByteArray &compressedBytes, QByteArray &uncompressedBytes)
{
if (compressedBytes.size() == 0)
{