diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-10 00:02:02 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-10 00:02:02 +0200 |
commit | db5816b0a20aac63fb97188ea2034903db254bfa (patch) | |
tree | 56f45bfe3d74932dbaab4ff8c89da21544bcb10f /logic/GZip.cpp | |
parent | a1fd50e920eba0f198b898e5df4ff5f60424d355 (diff) | |
download | PrismLauncher-db5816b0a20aac63fb97188ea2034903db254bfa.tar.gz PrismLauncher-db5816b0a20aac63fb97188ea2034903db254bfa.tar.bz2 PrismLauncher-db5816b0a20aac63fb97188ea2034903db254bfa.zip |
GH-1227 fix zlib nonsense on Windows
Diffstat (limited to 'logic/GZip.cpp')
-rw-r--r-- | logic/GZip.cpp | 6 |
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) { |