X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..fb2957900c9c38ffa03b4ab2ea6cbcc1e23ecc7d:/src/zlib/inffast.c diff --git a/src/zlib/inffast.c b/src/zlib/inffast.c index 61a78ee933..d387b586bd 100644 --- a/src/zlib/inffast.c +++ b/src/zlib/inffast.c @@ -1,6 +1,6 @@ /* inffast.c -- process literals and length/distance pairs fast * Copyright (C) 1995-1998 Mark Adler - * For conditions of distribution and use, see copyright notice in zlib.h + * For conditions of distribution and use, see copyright notice in zlib.h */ #include "zutil.h" @@ -25,12 +25,16 @@ struct inflate_codes_state {int dummy;}; /* for buggy compilers */ at least ten. The ten bytes are six bytes for the longest length/ distance pair plus four bytes for overloading the bit buffer. */ +#if defined(__VISAGECPP__) /* Visualage can't handle this antiquated interface */ +int inflate_fast(uInt bl, uInt bd, inflate_huft* tl, inflate_huft* td, inflate_blocks_statef* s, z_streamp z) +#else int inflate_fast(bl, bd, tl, td, s, z) uInt bl, bd; inflate_huft *tl; inflate_huft *td; /* need separate declaration for Borland C++ */ inflate_blocks_statef *s; z_streamp z; +#endif { inflate_huft *t; /* temporary pointer */ uInt e; /* extra bits or operation */