Skip to content

Fix build with libpng>=1.6.41

Libpng 1.6.41 removed support for PNG_IGNORE_ADLER32, which broke compiling pngcrush:

https://github.com/pnggroup/libpng/commit/269b753496180cdb3082d87b0cd907905593dee5

Upstream bug report: https://sourceforge.net/p/pmt/bugs/82

Fix this with an #ifdef.

Merge request reports

Loading