[Qt] Fix build when zlib is compiled with -DZ_PREFIX
Proper fix this time.
This commit is contained in:
committed by
Bruno de Oliveira Abinader
parent
e05a6bb3d5
commit
6c3c421119
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user