[master] Revised pngconf.h to make it easier to enable iTXt support
by defining PNG_iTXT_SUPPORTED
diff --git a/ANNOUNCE b/ANNOUNCE
index 6bad396..5e26265 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -61,6 +61,7 @@
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
diff --git a/CHANGES b/CHANGES
index 045254e..e01a4b8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2491,6 +2491,7 @@
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
diff --git a/pngconf.h b/pngconf.h
index ca81358..47932a0 100644
--- a/pngconf.h
+++ b/pngconf.h
@@ -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