X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a626cc03053700ca5bdbf0243831bec528e6fc4d..b3402d0df8c9f763da1e32fc28c824014e5516c6:/src/png/pngrio.c diff --git a/src/png/pngrio.c b/src/png/pngrio.c index 23bbb2b660..2af0e8954b 100644 --- a/src/png/pngrio.c +++ b/src/png/pngrio.c @@ -39,8 +39,13 @@ png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) read_data function and use it at run time with png_set_read_fn(), rather than changing the library. */ #ifndef USE_FAR_KEYWORD +#ifdef __VISAGECPP__ +static void _Optlink +png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) +#else static void png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) +#endif { png_size_t check;