From 5d276731e60f332758d3c7b856a26f245851bfc1 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 2 Nov 2009 11:35:26 -0600 Subject: [PATCH] [master] Use the new PNG_CONVERT_tIME_SUPPORTED macro in pngwrite.c. --- pngwrite.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pngwrite.c b/pngwrite.c index 991aa914..c3818541 100644 --- a/pngwrite.c +++ b/pngwrite.c @@ -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