[Qt] Fix build when zlib is compiled with -DZ_PREFIX

Proper fix this time.
This commit is contained in:
Thiago Marcos P. Santos
2017-04-07 16:48:08 +03:00
committed by Bruno de Oliveira Abinader
parent e05a6bb3d5
commit 6c3c421119

View File

@@ -25,7 +25,7 @@ namespace util {
// Needed when using a zlib compiled with -DZ_PREFIX
// because it will mess with this function name and
// cause a link error.
#undef z_compress
#undef compress
std::string compress(const std::string &raw) {
z_stream deflate_stream;