diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-02-18 22:34:38 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-02-18 22:34:38 +0900 |
| commit | 7230fbd2f780023b269fc940a286cd064fbe98b2 (patch) | |
| tree | 8e8aba0e732ab868574fda19db703162026e28b3 /src/HttpResponseCommand.cc | |
| parent | 5b62fa9ab1d8baff8400fd49c79218659edecb71 (diff) | |
Replaced HAVE_LIBZ with HAVE_ZLIB
Diffstat (limited to 'src/HttpResponseCommand.cc')
| -rw-r--r-- | src/HttpResponseCommand.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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<StreamFilter>& filter) { -#ifdef HAVE_LIBZ +#ifdef HAVE_ZLIB for(SharedHandle<StreamFilter> 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 |
