X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a626cc03053700ca5bdbf0243831bec528e6fc4d..617ec45690c340d059726a09ccfe4bab9a42d82e:/src/png/pngrio.c?ds=inline 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;