summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mbgl/util/compression.cpp2
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;