From e17ea30e9052708c9770133994aef946c4298c12 Mon Sep 17 00:00:00 2001 From: jiayuehua <3423893+jiayuehua@users.noreply.github.com> Date: Sat, 23 Nov 2024 16:14:57 +0800 Subject: [PATCH] fix zlib using --- folly/compression/Zlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/folly/compression/Zlib.h b/folly/compression/Zlib.h index 131b2e66283..ac7672a9a30 100644 --- a/folly/compression/Zlib.h +++ b/folly/compression/Zlib.h @@ -124,8 +124,6 @@ std::unique_ptr getStreamCodec( } // namespace compression } // namespace folly -#endif // FOLLY_HAVE_LIBZ - namespace folly::io::zlib { using folly::compression::zlib::defaultGzipOptions; using folly::compression::zlib::defaultZlibOptions; @@ -133,3 +131,5 @@ using folly::compression::zlib::getCodec; using folly::compression::zlib::getStreamCodec; using folly::compression::zlib::Options; } // namespace folly::io::zlib +#endif // FOLLY_HAVE_LIBZ +