From 7230fbd2f780023b269fc940a286cd064fbe98b2 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 18 Feb 2011 22:34:38 +0900 Subject: Replaced HAVE_LIBZ with HAVE_ZLIB --- src/HttpResponseCommand.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/HttpResponseCommand.cc') diff --git a/src/HttpResponseCommand.cc b/src/HttpResponseCommand.cc index aa7afd42..26523f52 100644 --- a/src/HttpResponseCommand.cc +++ b/src/HttpResponseCommand.cc @@ -72,9 +72,9 @@ #include "ChunkedDecodingStreamFilter.h" #include "uri.h" #include "SocketRecvBuffer.h" -#ifdef HAVE_LIBZ +#ifdef HAVE_ZLIB # include "GZipDecodingStreamFilter.h" -#endif // HAVE_LIBZ +#endif // HAVE_ZLIB namespace aria2 { @@ -447,7 +447,7 @@ namespace { bool decideFileAllocation (const SharedHandle& filter) { -#ifdef HAVE_LIBZ +#ifdef HAVE_ZLIB for(SharedHandle f = filter; f; f = f->getDelegate()){ // Since the compressed file's length are returned in the response header // and the decompressed file size is unknown at this point, disable file @@ -456,7 +456,7 @@ bool decideFileAllocation return false; } } -#endif // HAVE_LIBZ +#endif // HAVE_ZLIB return true; } } // namespace -- cgit