[devel] Make PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED
diff --git a/ANNOUNCE b/ANNOUNCE
index 04c58bd..2458771 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -607,7 +607,7 @@
 
 version 1.4.0beta92 [November 3, 2009]
   Make inclusion of time.h in pngconf.h depend on PNG_CONVERT_tIME_SUPPORTED
-  Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_tIME_SUPPORTED
+  Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED
 
 Send comments/corrections/commendations to png-mng-implement at lists.sf.net
 (subscription required; visit
diff --git a/CHANGES b/CHANGES
index dfce09b..ef32269 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2293,7 +2293,7 @@
 
 version 1.4.0beta92 [November 3, 2009]
   Make inclusion of time.h in pngconf.h depend on PNG_CONVERT_tIME_SUPPORTED
-  Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_tIME_SUPPORTED
+  Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED
 
 Send comments/corrections/commendations to png-mng-implement at lists.sf.net
 (subscription required; visit
diff --git a/pngconf.h b/pngconf.h
index 4f9c29a..11e5bd0 100644
--- a/pngconf.h
+++ b/pngconf.h
@@ -999,7 +999,7 @@
 #  endif
 #endif
 
-#ifdef PNG_tIME_SUPPORTED
+#ifdef PNG_WRITE_tIME_SUPPORTED
 #  ifndef PNG_NO_CONVERT_tIME
 #    ifndef _WIN32_WCE
 /*   The "tm" structure is not supported on WindowsCE */