[libpng16] Fixed typo in png.h #ifdef

This commit is contained in:
Glenn Randers-Pehrson 2013-02-10 16:39:55 -06:00
parent bf9f74b657
commit 88c5a2a068
4 changed files with 6 additions and 6 deletions

View File

@ -622,6 +622,7 @@ Version 1.6.0rc07 [February 10, 2013]
block, and revised pnglibconf.h and pnglibconf.h.prebuilt accordingly. block, and revised pnglibconf.h and pnglibconf.h.prebuilt accordingly.
Version 1.6.0rc08 [February 10, 2013] Version 1.6.0rc08 [February 10, 2013]
Fix typo in png.h #ifdef
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -4376,6 +4376,7 @@ Version 1.6.0rc07 [February 10, 2013]
block, and revised pnglibconf.h and pnglibconf.h.prebuilt accordingly. block, and revised pnglibconf.h and pnglibconf.h.prebuilt accordingly.
Version 1.6.0rc08 [February 10, 2013] Version 1.6.0rc08 [February 10, 2013]
Fix typo in png.h #ifdef
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

6
png.h
View File

@ -3199,12 +3199,10 @@ PNG_EXPORT(240, int, png_image_write_to_stdio, (png_imagep image, FILE *file,
* END OF SIMPLIFIED API * END OF SIMPLIFIED API
******************************************************************************/ ******************************************************************************/
#if defined(PNG_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED) || \ #if defined(PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED)
defined(PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED)
PNG_EXPORT(242, void, png_set_check_for_invalid_index, PNG_EXPORT(242, void, png_set_check_for_invalid_index,
(png_structrp png_ptr, int allowed)); (png_structrp png_ptr, int allowed));
#if defined(PNG_READ_GET_PALETTE_MAX_SUPPORTED) || \ #if defined(PNG_GET_PALETTE_MAX_SUPPORTED)
defined(PNG_READ_GET_PALETTE_MAX_SUPPORTED)
PNG_EXPORT(243, int, png_get_palette_max, (png_const_structp png_ptr, PNG_EXPORT(243, int, png_get_palette_max, (png_const_structp png_ptr,
png_const_infop info_ptr)); png_const_infop info_ptr));
#endif #endif

View File

@ -780,8 +780,8 @@ option WRITE_CHECK_FOR_INVALID_INDEX requires WRITE CHECK_FOR_INVALID_INDEX
# added at libpng-1.5.15 # added at libpng-1.5.15
option GET_PALETTE_MAX enables READ_GET_PALETTE_MAX option GET_PALETTE_MAX enables READ_GET_PALETTE_MAX
option GET_PALETTE_MAX enables WRITE_GET_PALETTE_MAX option GET_PALETTE_MAX enables WRITE_GET_PALETTE_MAX
option READ_GET_PALETTE_MAX requires CHECK_FOR_INVALID_INDEX option READ_GET_PALETTE_MAX requires READ_CHECK_FOR_INVALID_INDEX
option WRITE_GET_PALETTE_MAX requires CHECK_FOR_INVALID_INDEX option WRITE_GET_PALETTE_MAX requires WRITE_CHECK_FOR_INVALID_INDEX
# Simplified API options (added at libpng-1.6.0) # Simplified API options (added at libpng-1.6.0)
# Read: # Read: