--- SDL2_image-2.0.1.old/src/IMG_png.c +++ SDL2_image-2.0.1/src/IMG_png.c @@ -329,6 +329,8 @@ return(is_PNG); } +#define png_read_data sdl_png_read_data + /* Load a PNG type image from an SDL datasource */ static void png_read_data(png_structp ctx, png_bytep area, png_size_t size) {