mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Check for CLOCK_PROCESS_CPUTIME_ID in /contrib/libtests/timepng.
Otherwise it does not build on platforms that don't supply clock_gettime().
This commit is contained in:
parent
ba356b4e4d
commit
f05407d292
6
ANNOUNCE
6
ANNOUNCE
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.7.0beta81 - May 7, 2016
|
Libpng 1.7.0beta81 - May 16, 2016
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
This is not intended to be a public release. It will be replaced
|
||||||
within a few weeks by a public version or by another test version.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -1290,7 +1290,9 @@ Version 1.7.0beta80 [May 6, 2016]
|
|||||||
unreachable code in pz_default_settings and eliminated a spurious
|
unreachable code in pz_default_settings and eliminated a spurious
|
||||||
warning in pngcp for small files.
|
warning in pngcp for small files.
|
||||||
|
|
||||||
Version 1.7.0beta81 [May 7, 2016]
|
Version 1.7.0beta81 [May 16, 2016]
|
||||||
|
Check for CLOCK_PROCESS_CPUTIME_ID when building /contrib/libtests/timepng.
|
||||||
|
Otherwise it does not build on platforms that don't supply clock_gettime().
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
4
CHANGES
4
CHANGES
@ -5590,7 +5590,9 @@ Version 1.7.0beta80 [May 6, 2016]
|
|||||||
unreachable code in pz_default_settings and eliminated a spurious
|
unreachable code in pz_default_settings and eliminated a spurious
|
||||||
warning in pngcp for small files.
|
warning in pngcp for small files.
|
||||||
|
|
||||||
Version 1.7.0beta81 [May 7, 2016]
|
Version 1.7.0beta81 [May 16, 2016]
|
||||||
|
Check for CLOCK_PROCESS_CPUTIME_ID when building /contrib/libtests/timepng.
|
||||||
|
Otherwise it does not build on platforms that don't supply clock_gettime().
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
@ -44,8 +44,10 @@
|
|||||||
# define voidcast(type, value) (value)
|
# define voidcast(type, value) (value)
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
#if ((defined(PNG_SEQUENTIAL_READ_SUPPORTED)) && defined(PNG_STDIO_SUPPORTED)\
|
#if (defined (CLOCK_PROCESS_CPUTIME_ID) &&
|
||||||
&& defined(PNG_EASY_ACCESS_SUPPORTED) && defined(PNG_INFO_IMAGE_SUPPORTED))
|
defined (PNG_SEQUENTIAL_READ_SUPPORTED) && defined(PNG_STDIO_SUPPORTED)\
|
||||||
|
&& defined(PNG_EASY_ACCESS_SUPPORTED) && defined(PNG_INFO_IMAGE_SUPPORTED)
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
FILE *input;
|
FILE *input;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user