diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-16 11:12:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-16 11:13:13 +0000 |
commit | 39481744b199bed3a5f67f6ceee9c2e01595f2af (patch) | |
tree | e1118e6e95547a33668d5b31d2a1d8346d125f64 /package/source/zipapi/Inflater.cxx | |
parent | 1dd59441bd43071b11d2d952d625fb595083a793 (diff) |
drop Z_PREFIX from internal zlib, makes building clucene much easier
Diffstat (limited to 'package/source/zipapi/Inflater.cxx')
-rw-r--r-- | package/source/zipapi/Inflater.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/zipapi/Inflater.cxx b/package/source/zipapi/Inflater.cxx index 1bc997261c67..043c5011ddf7 100644 --- a/package/source/zipapi/Inflater.cxx +++ b/package/source/zipapi/Inflater.cxx @@ -105,7 +105,7 @@ void SAL_CALL Inflater::end( ) { if (pStream != NULL) { -#if defined SYSTEM_ZLIB || !defined Z_PREFIX +#if !defined Z_PREFIX inflateEnd(pStream); #else z_inflateEnd(pStream); @@ -130,7 +130,7 @@ sal_Int32 Inflater::doInflateBytes (Sequence < sal_Int8 > &rBuffer, sal_Int32 n pStream->next_out = reinterpret_cast < unsigned char* > ( rBuffer.getArray() + nNewOffset ); pStream->avail_out = nNewLength; -#if defined SYSTEM_ZLIB || !defined Z_PREFIX +#if !defined Z_PREFIX sal_Int32 nResult = ::inflate(pStream, Z_PARTIAL_FLUSH); #else sal_Int32 nResult = ::z_inflate(pStream, Z_PARTIAL_FLUSH); |