X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6ebb51430cd8e4a9a11c6c5a5ca7c3ff9d7a72a..d440a0e764687c595254539539b0cd6e3b075590:/src/zlib/zutil.h?ds=sidebyside 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