[devel] Added PNG_CONVERT_tIME_SUPPORTED macro.
This commit is contained in:
parent
3ce2146941
commit
0cb46e200c
2
ANNOUNCE
2
ANNOUNCE
@ -599,6 +599,8 @@ version 1.4.0beta90 [November 2, 2009]
|
|||||||
time.h "tm" structure
|
time.h "tm" structure
|
||||||
|
|
||||||
version 1.4.0beta91 [November 2, 2009]
|
version 1.4.0beta91 [November 2, 2009]
|
||||||
|
Patched ltmain.sh for wince support.
|
||||||
|
Added PNG_CONVERT_tIME_SUPPORTED macro.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
2
CHANGES
2
CHANGES
@ -2285,6 +2285,8 @@ version 1.4.0beta90 [November 2, 2009]
|
|||||||
time.h "tm" structure
|
time.h "tm" structure
|
||||||
|
|
||||||
version 1.4.0beta91 [November 2, 2009]
|
version 1.4.0beta91 [November 2, 2009]
|
||||||
|
Patched ltmain.sh for wince support.
|
||||||
|
Added PNG_CONVERT_tIME_SUPPORTED macro.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
7
png.h
7
png.h
@ -1441,18 +1441,15 @@ extern PNG_EXPORT(png_charp,png_convert_to_rfc1123)
|
|||||||
PNGARG((png_structp png_ptr, png_timep ptime));
|
PNGARG((png_structp png_ptr, png_timep ptime));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PNG_WRITE_tIME_SUPPORTED
|
#ifdef PNG_CONVERT_tIME_SUPPORTED
|
||||||
/* Convert from a struct tm to png_time */
|
/* 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,
|
extern PNG_EXPORT(void,png_convert_from_struct_tm) PNGARG((png_timep ptime,
|
||||||
struct tm FAR * ttime));
|
struct tm FAR * ttime));
|
||||||
|
|
||||||
/* Convert from time_t to png_time. Uses gmtime() */
|
/* Convert from time_t to png_time. Uses gmtime() */
|
||||||
extern PNG_EXPORT(void,png_convert_from_time_t) PNGARG((png_timep ptime,
|
extern PNG_EXPORT(void,png_convert_from_time_t) PNGARG((png_timep ptime,
|
||||||
time_t ttime));
|
time_t ttime));
|
||||||
# endif /* _WIN32_WCE */
|
#endif /* PNG_CONVERT_tIME_SUPPORTED */
|
||||||
#endif /* PNG_WRITE_tIME_SUPPORTED */
|
|
||||||
|
|
||||||
#ifdef PNG_READ_EXPAND_SUPPORTED
|
#ifdef PNG_READ_EXPAND_SUPPORTED
|
||||||
/* Expand data to 24-bit RGB, or 8-bit grayscale, with alpha if available. */
|
/* Expand data to 24-bit RGB, or 8-bit grayscale, with alpha if available. */
|
||||||
|
11
pngconf.h
11
pngconf.h
@ -997,9 +997,16 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED */
|
#ifndef PNG_NO_CONVERT_tIME
|
||||||
|
# ifndef _WIN32_WCE
|
||||||
|
/* The "tm" structure is not supported on WindowsCE */
|
||||||
|
# ifndef PNG_CONVERT_tIME_SUPPORTED
|
||||||
|
# define PNG_CONVERT_tIME_SUPPORTED
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define PNG_CONVERT_tIME_SUPPORTED (PNG_tIME_SUPPORTED && !WIN32_WCE)
|
#endif /* PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED */
|
||||||
|
|
||||||
#if !defined(PNG_NO_WRITE_FILTER) && !defined(PNG_WRITE_FILTER_SUPPORTED)
|
#if !defined(PNG_NO_WRITE_FILTER) && !defined(PNG_WRITE_FILTER_SUPPORTED)
|
||||||
# define PNG_WRITE_FILTER_SUPPORTED
|
# define PNG_WRITE_FILTER_SUPPORTED
|
||||||
|
Loading…
Reference in New Issue
Block a user