commit | 40878fd6dcc178844a3f6a9ec56fab36394f4334 | [log] [tgz] |
---|---|---|
author | Ben Wagner <[email protected]> | Fri Apr 26 13:20:18 2024 -0400 |
committer | Cosmin Truta <[email protected]> | Sun Sep 08 10:47:44 2024 +0300 |
tree | be525dc90fc3630f5e4767bc56fd4cb953c5754f | |
parent | 20f819c29e49f4b8c1d38e3f475b82a9cdce0da6 [diff] |
fix: Restore STDERR in pngtest.c In "test: Add consistency checks for the PNG_LIBPNG_VER* number" [0] the `STDERR` macro was moved from outside an `ifdef` to inside an `ifdef`. This broke the code in the `else` of this `ifdef` which also uses the `STDERR` macro. Move `STDERR` back to where it was to avoid compile errors in the `else` case. [0] https://github.com/pnggroup/libpng/commit/cc8006c48d90cca8bf380fa69469b08f4edb00c5 Fixes: #560 Reviewed-by: Cosmin Truta <[email protected]> Signed-off-by: Cosmin Truta <[email protected]>