Skip to content

Commit

Permalink
fix build against libpng-1.5.x versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Oct 13, 2018
1 parent e636f8d commit affe092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IMG_png.c
Expand Up @@ -74,13 +74,13 @@
#if (PNG_LIBPNG_VER_MINOR < 5)
#define LIBPNG_VERSION_12
typedef png_bytep png_const_bytep;
typedef png_color *png_const_colorp;
#endif
#if (PNG_LIBPNG_VER_MINOR < 6)
typedef png_structp png_const_structrp;
typedef png_infop png_const_inforp;
typedef png_structp png_structrp;
typedef png_infop png_inforp;
typedef const png_color * png_const_colorp;
#endif
#endif

Expand Down

0 comments on commit affe092

Please sign in to comment.