X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f0299c17dc878540bf190c290392db241b425ad..0ff5799aca392547b9c411dedfb181c17e7b0fa2:/src/zlib/uncompr.c diff --git a/src/zlib/uncompr.c b/src/zlib/uncompr.c index f4d287b518..b9e3e70081 100644 --- a/src/zlib/uncompr.c +++ b/src/zlib/uncompr.c @@ -1,6 +1,6 @@ /* uncompr.c -- decompress a memory buffer - * Copyright (C) 1995-1998 Jean-loup Gailly. - * For conditions of distribution and use, see copyright notice in zlib.h + * Copyright (C) 1995-2002 Jean-loup Gailly. + * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ @@ -22,11 +22,15 @@ enough memory, Z_BUF_ERROR if there was not enough room in the output buffer, or Z_DATA_ERROR if the input data was corrupted. */ +#if defined(__VISAGECPP__) /* Visualage can't handle this antiquated interface */ +int ZEXPORT uncompress (Bytef* dest, uLongf* destLen, const Bytef* source, uLong sourceLen) +#else int ZEXPORT uncompress (dest, destLen, source, sourceLen) Bytef *dest; uLongf *destLen; const Bytef *source; uLong sourceLen; +#endif { z_stream stream; int err;