commit | 54feb0ad2a5752b68254d0efd9b4249f196b8ae5 | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Sat Jul 02 07:37:37 2016 -0700 |
committer | John Bowler <jbowler@acm.org> | Sat Jul 02 08:03:09 2016 -0700 |
tree | ba0b9d7365a073c745005465a7cf0e9194b3e402 | |
parent | b733c50bc0f21059b5dde2e565171a3ce36f914d [diff] |
pngimage: correct #define checking In libpng 1.7 pngimage needs to check PNG_WRITE_PNG_SUPPORTED (new in 1.7), not PNG_WRITE_SUPPORTED because png_write_png can be disabled without disabling PNG_WRITE_SUPPORTED. Copied the approach from 1.6 pngcp.c (so this still works in 1.6 as well.)