提交 5d276731 编写于 作者: G Glenn Randers-Pehrson

[master] Use the new PNG_CONVERT_tIME_SUPPORTED macro in pngwrite.c.

上级 6dcfbc47
......@@ -423,8 +423,7 @@ png_write_end(png_structp png_ptr, png_infop info_ptr)
#endif
}
#ifdef PNG_WRITE_tIME_SUPPORTED
#ifndef _WIN32_WCE
#ifdef PNG_CONVERT_tIME_SUPPORTED
/* "tm" structure is not supported on WindowsCE */
void PNGAPI
png_convert_from_struct_tm(png_timep ptime, struct tm FAR * ttime)
......@@ -450,7 +449,6 @@ png_convert_from_time_t(png_timep ptime, time_t ttime)
png_convert_from_struct_tm(ptime, tbuf);
}
#endif
#endif
/* Initialize png_ptr structure, and allocate any memory needed */
png_structp PNGAPI
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册