X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6ebb51430cd8e4a9a11c6c5a5ca7c3ff9d7a72a..59840ba3b16e4baf3228dd79c6b7ae40b55cf488:/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