X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f0299c17dc878540bf190c290392db241b425ad..a7c26d107d0c6f191e55d30613f4816e9c2f9386:/src/zlib/adler32.c?ds=inline diff --git a/src/zlib/adler32.c b/src/zlib/adler32.c index ef4b2ebdc8..853298d03d 100644 --- a/src/zlib/adler32.c +++ b/src/zlib/adler32.c @@ -1,6 +1,6 @@ /* adler32.c -- compute the Adler-32 checksum of a data stream - * Copyright (C) 1995-1998 Mark Adler - * For conditions of distribution and use, see copyright notice in zlib.h + * Copyright (C) 1995-2002 Mark Adler + * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ @@ -18,10 +18,14 @@ #define DO16(buf) DO8(buf,0); DO8(buf,8); /* ========================================================================= */ +#if defined(__VISAGECPP__) /* Visualage can't handle this antiquated interface */ +uLong ZEXPORT adler32 (uLong adler, const Bytef* buf, uInt len) +#else uLong ZEXPORT adler32(adler, buf, len) uLong adler; const Bytef *buf; uInt len; +#endif { unsigned long s1 = adler & 0xffff; unsigned long s2 = (adler >> 16) & 0xffff;