diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-11-01 16:32:57 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-11-01 16:32:57 -0600 |
commit | 4c49647788f64676bfc1f63e5f446b7289cdc800 (patch) | |
tree | b07182444ee8968e8d8a3a7d1d2cde47a4249765 /png.h | |
parent | 3de7bde0e1a02a3e990af6993e71f0ddb93a0a1a (diff) | |
download | libpng-4c49647788f64676bfc1f63e5f446b7289cdc800.tar.gz |
[master] Revise pngconf.h (iTXt handling)
and avoid reference to time.h "tm" structure in png.h and pngwrite.c
Diffstat (limited to 'png.h')
-rw-r--r-- | png.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1646,18 +1646,18 @@ extern PNG_EXPORT(png_charp,png_convert_to_rfc1123) PNGARG((png_structp png_ptr, png_timep ptime)); #endif -#ifndef _WIN32_WCE -/* "time.h" functions are not supported on WindowsCE */ #ifdef PNG_WRITE_tIME_SUPPORTED /* Convert from a struct tm to png_time */ +# ifndef _WIN32_WCE +/* "tm" structure is not supported on WindowsCE */ extern PNG_EXPORT(void,png_convert_from_struct_tm) PNGARG((png_timep ptime, struct tm FAR * ttime)); /* Convert from time_t to png_time. Uses gmtime() */ extern PNG_EXPORT(void,png_convert_from_time_t) PNGARG((png_timep ptime, time_t ttime)); +# endif /* _WIN32_WCE */ #endif /* PNG_WRITE_tIME_SUPPORTED */ -#endif /* _WIN32_WCE */ #ifdef PNG_READ_EXPAND_SUPPORTED /* Expand data to 24-bit RGB, or 8-bit grayscale, with alpha if available. */ |