summaryrefslogtreecommitdiff
path: root/test/HttpRequestTest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/HttpRequestTest.cc')
-rw-r--r--test/HttpRequestTest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/HttpRequestTest.cc b/test/HttpRequestTest.cc
index 590072de..010eae39 100644
--- a/test/HttpRequestTest.cc
+++ b/test/HttpRequestTest.cc
@@ -795,9 +795,9 @@ void HttpRequestTest::testEnableAcceptEncoding()
httpRequest.setAuthConfigFactory(authConfigFactory_, option_.get());
std::string acceptEncodings;
-#ifdef HAVE_LIBZ
+#ifdef HAVE_ZLIB
acceptEncodings += "deflate, gzip";
-#endif // HAVE_LIBZ
+#endif // HAVE_ZLIB
std::string expectedTextHead =
"GET /archives/aria2-1.0.0.tar.bz2 HTTP/1.1\r\n"