Skip to content

Commit

Permalink
Fixed compiling with libpng12
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 28, 2013
1 parent 1865c8a commit 8531aba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions IMG_png.c
Expand Up @@ -73,6 +73,9 @@
/* Check for the older version of libpng */
#if (PNG_LIBPNG_VER_MAJOR == 1) && (PNG_LIBPNG_VER_MINOR < 4)
#define LIBPNG_VERSION_12
typedef png_structp png_const_structrp;
typedef png_infop png_const_inforp;
typedef png_bytep png_const_bytep;
#endif

static struct {
Expand Down

0 comments on commit 8531aba

Please sign in to comment.