X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6ebb51430cd8e4a9a11c6c5a5ca7c3ff9d7a72a..0a4f1bbf6d4d97ee0ff2ab5402af585333c9c9bc:/src/zlib/zutil.h diff --git a/src/zlib/zutil.h b/src/zlib/zutil.h index f6a0751046..1415c44225 100644 --- a/src/zlib/zutil.h +++ b/src/zlib/zutil.h @@ -208,12 +208,14 @@ extern const char *z_errmsg[10]; /* indexed by 2-zlib_error */ #endif +#if defined(__VISAGECPP__) typedef uLong (ZEXPORT _Optlink *check_func) OF((uLong check, const Bytef *buf, uInt len)); -#if defined(__VISAGECPP__) voidpf _Optlink zcalloc OF((voidpf opaque, unsigned items, unsigned size)); void _Optlink zcfree OF((voidpf opaque, voidpf ptr)); #else +typedef uLong (ZEXPORT *check_func) OF((uLong check, const Bytef *buf, + uInt len)); voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size)); void zcfree OF((voidpf opaque, voidpf ptr)); #endif