[master] Revised pngconf.h to make it easier to enable iTXt support

by defining PNG_iTXT_SUPPORTED
This commit is contained in:
Glenn Randers-Pehrson 2009-10-10 08:13:01 -05:00
parent 89e0d95883
commit e9c8dcf96c
3 changed files with 12 additions and 8 deletions

View File

@ -61,6 +61,7 @@ version 1.2.41beta04 [October 7, 2009]
Eliminated a shadowed declaration of "pp" in png_handle_sPLT(). Eliminated a shadowed declaration of "pp" in png_handle_sPLT().
version 1.2.41beta05 [October 10, 2009] version 1.2.41beta05 [October 10, 2009]
Revised pngconf.h to make it easier to enable iTXt support.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net

View File

@ -2491,6 +2491,7 @@ version 1.2.41beta04 [October 7, 2009]
Eliminated a shadowed declaration of "pp" in png_handle_sPLT(). Eliminated a shadowed declaration of "pp" in png_handle_sPLT().
version 1.2.41beta05 [October 10, 2009] version 1.2.41beta05 [October 10, 2009]
Revised pngconf.h to make it easier to enable iTXt support.
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

@ -494,6 +494,7 @@
*/ */
#if defined(PNG_1_0_X) || defined (PNG_1_2_X) #if defined(PNG_1_0_X) || defined (PNG_1_2_X)
# ifndef PNG_iTXt_SUPPORTED
# ifndef PNG_NO_iTXt_SUPPORTED # ifndef PNG_NO_iTXt_SUPPORTED
# define PNG_NO_iTXt_SUPPORTED # define PNG_NO_iTXt_SUPPORTED
# endif # endif
@ -504,6 +505,7 @@
# define PNG_NO_WRITE_iTXt # define PNG_NO_WRITE_iTXt
# endif # endif
# endif # endif
#endif
#if !defined(PNG_NO_iTXt_SUPPORTED) #if !defined(PNG_NO_iTXt_SUPPORTED)
# if !defined(PNG_READ_iTXt_SUPPORTED) && !defined(PNG_NO_READ_iTXt) # if !defined(PNG_READ_iTXt_SUPPORTED) && !defined(PNG_NO_READ_iTXt)