[devel] Define PNG_ALLOCATED to "restrict" only if MSC_VER >= 1400.
This commit is contained in:
parent
9daf91ed5c
commit
4fca25504e
19
ANNOUNCE
19
ANNOUNCE
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.5.4beta08 - June 23, 2011
|
Libpng 1.5.4rc01 - June 27, 2011
|
||||||
|
|
||||||
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.
|
||||||
@ -9,20 +9,20 @@ Files available for download:
|
|||||||
Source files with LF line endings (for Unix/Linux) and with a
|
Source files with LF line endings (for Unix/Linux) and with a
|
||||||
"configure" script
|
"configure" script
|
||||||
|
|
||||||
1.5.4beta08.tar.xz (LZMA-compressed, recommended)
|
1.5.4rc01.tar.xz (LZMA-compressed, recommended)
|
||||||
1.5.4beta08.tar.gz
|
1.5.4rc01.tar.gz
|
||||||
1.5.4beta08.tar.bz2
|
1.5.4rc01.tar.bz2
|
||||||
|
|
||||||
Source files with CRLF line endings (for Windows), without the
|
Source files with CRLF line endings (for Windows), without the
|
||||||
"configure" script
|
"configure" script
|
||||||
|
|
||||||
lp154b08.7z (LZMA-compressed, recommended)
|
lp154r01.7z (LZMA-compressed, recommended)
|
||||||
lp154b08.zip
|
lp154r01.zip
|
||||||
|
|
||||||
Other information:
|
Other information:
|
||||||
|
|
||||||
1.5.4beta08-README.txt
|
1.5.4rc01-README.txt
|
||||||
1.5.4beta08-LICENSE.txt
|
1.5.4rc01-LICENSE.txt
|
||||||
|
|
||||||
Changes since the last public release (1.5.2):
|
Changes since the last public release (1.5.2):
|
||||||
|
|
||||||
@ -240,6 +240,9 @@ Version 1.5.4beta08 [June 23, 2011]
|
|||||||
Fixed pngvalid if ACCURATE_SCALE is defined.
|
Fixed pngvalid if ACCURATE_SCALE is defined.
|
||||||
Updated scripts/pnglibconf.h.prebuilt.
|
Updated scripts/pnglibconf.h.prebuilt.
|
||||||
|
|
||||||
|
Version 1.5.4rc01 [June 27, 2011]
|
||||||
|
Define PNG_ALLOCATED to "restrict" only if MSC_VER >= 1400.
|
||||||
|
|
||||||
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
|
||||||
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
|
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
|
||||||
|
3
CHANGES
3
CHANGES
@ -3503,6 +3503,9 @@ Version 1.5.4beta08 [June 23, 2011]
|
|||||||
Fixed pngvalid if ACCURATE_SCALE is defined.
|
Fixed pngvalid if ACCURATE_SCALE is defined.
|
||||||
Updated scripts/pnglibconf.h.prebuilt.
|
Updated scripts/pnglibconf.h.prebuilt.
|
||||||
|
|
||||||
|
Version 1.5.4rc01 [June 27, 2011]
|
||||||
|
Define PNG_ALLOCATED to "restrict" only if MSC_VER >= 1400.
|
||||||
|
|
||||||
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
|
||||||
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
|
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/* pngconf.h - machine configurable file for libpng
|
/* pngconf.h - machine configurable file for libpng
|
||||||
*
|
*
|
||||||
* libpng version 1.5.4beta08 - June 23, 2011
|
* libpng version 1.5.4rc01 - June 27, 2011
|
||||||
*
|
*
|
||||||
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
|
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
|
||||||
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
||||||
@ -385,7 +385,9 @@
|
|||||||
# define PNG_NORETURN __declspec(noreturn)
|
# define PNG_NORETURN __declspec(noreturn)
|
||||||
# endif
|
# endif
|
||||||
# ifndef PNG_ALLOCATED
|
# ifndef PNG_ALLOCATED
|
||||||
|
# if (_MSC_VER >= 1400)
|
||||||
# define PNG_ALLOCATED __declspec(restrict)
|
# define PNG_ALLOCATED __declspec(restrict)
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
/* This specifically protects structure members that should only be
|
/* This specifically protects structure members that should only be
|
||||||
|
Loading…
Reference in New Issue
Block a user