diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2017-04-07 16:48:08 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2017-04-07 16:52:23 +0300 |
commit | fa9e435795a958b44d50a5cd9cfb4a83363c1923 (patch) | |
tree | b6740f9a48dc6cd2841fe140fb45599ea608d713 | |
parent | 74f017e1b96516c6e9d138c3c6ddb8f2e7398748 (diff) | |
download | qtlocation-mapboxgl-fa9e435795a958b44d50a5cd9cfb4a83363c1923.tar.gz |
[Qt] Fix build when zlib is compiled with -DZ_PREFIXqt-v1.0.2
Proper fix this time.
-rw-r--r-- | src/mbgl/util/compression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/compression.cpp b/src/mbgl/util/compression.cpp index 832c38b8d5..94089c1b26 100644 --- a/src/mbgl/util/compression.cpp +++ b/src/mbgl/util/compression.cpp @@ -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; |