[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().
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

View File

@ -2491,6 +2491,7 @@ version 1.2.41beta04 [October 7, 2009]
Eliminated a shadowed declaration of "pp" in png_handle_sPLT().
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
(subscription required; visit

View File

@ -494,14 +494,16 @@
*/
#if defined(PNG_1_0_X) || defined (PNG_1_2_X)
# ifndef PNG_NO_iTXt_SUPPORTED
# define PNG_NO_iTXt_SUPPORTED
# endif
# ifndef PNG_NO_READ_iTXt
# define PNG_NO_READ_iTXt
# endif
# ifndef PNG_NO_WRITE_iTXt
# define PNG_NO_WRITE_iTXt
# ifndef PNG_iTXt_SUPPORTED
# ifndef PNG_NO_iTXt_SUPPORTED
# define PNG_NO_iTXt_SUPPORTED
# endif
# ifndef PNG_NO_READ_iTXt
# define PNG_NO_READ_iTXt
# endif
# ifndef PNG_NO_WRITE_iTXt
# define PNG_NO_WRITE_iTXt
# endif
# endif
#endif