diff options
author | John Bowler <jbowler@acm.org> | 2015-05-06 20:03:14 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2015-05-06 20:03:14 -0500 |
commit | 8ee821e69a32b0008ecd8d9cb15a7eeb44f287d3 (patch) | |
tree | 640abe4a5a9a395e6d309a9ca97483d2f5e281ba /pngread.c | |
parent | 279dc3f0bfece0855502d354b400f7bb93d21357 (diff) | |
download | libpng-8ee821e69a32b0008ecd8d9cb15a7eeb44f287d3.tar.gz |
[libpng16] PNG_RELEASE_BUILD replaces tests where the code depended on the build base
type and can be defined on the command line, allowing testing in beta builds. Back
ported from libpng17.
Diffstat (limited to 'pngread.c')
-rw-r--r-- | pngread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ png_create_read_struct_2,(png_const_charp user_png_ver, png_voidp error_ptr, /* In stable builds only warn if an application error can be completely * handled. */ -# if PNG_LIBPNG_BUILD_BASE_TYPE >= PNG_LIBPNG_BUILD_RC +# if PNG_RELEASE_BUILD png_ptr->flags |= PNG_FLAG_APP_WARNINGS_WARN; # endif # endif |