mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[devel] Make PNG_ALLOCATED blank when _MSC_VER<1300 in pngconf.h
This commit is contained in:
parent
eb7d7955e5
commit
41b1ffdf36
5
ANNOUNCE
5
ANNOUNCE
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.5.2beta03 - February 28, 2011
|
Libpng 1.5.2beta03 - March 3, 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.
|
||||||
@ -48,9 +48,10 @@ Version 1.5.2beta02 [February 19, 2011]
|
|||||||
This documents the current behavior, where the callback is called after
|
This documents the current behavior, where the callback is called after
|
||||||
every row with information pertaining to the next row.
|
every row with information pertaining to the next row.
|
||||||
|
|
||||||
Version 1.5.2beta03 [February 28, 2011]
|
Version 1.5.2beta03 [March 3, 2011]
|
||||||
Fixed scripts/makefile.vcwin32
|
Fixed scripts/makefile.vcwin32
|
||||||
Updated contrib/pngsuite/README to add the word "modify".
|
Updated contrib/pngsuite/README to add the word "modify".
|
||||||
|
Define PNG_ALLOCATED to blank when _MSC_VER<1300.
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
3
CHANGES
3
CHANGES
@ -3264,9 +3264,10 @@ Version 1.5.2beta02 [February 19, 2011]
|
|||||||
This documents the current behavior, where the callback is called after
|
This documents the current behavior, where the callback is called after
|
||||||
every row with information pertaining to the next row.
|
every row with information pertaining to the next row.
|
||||||
|
|
||||||
Version 1.5.2beta03 [February 28, 2011]
|
Version 1.5.2beta03 [March 3, 2011]
|
||||||
Fixed scripts/makefile.vcwin32
|
Fixed scripts/makefile.vcwin32
|
||||||
Updated contrib/pngsuite/README to add the word "modify".
|
Updated contrib/pngsuite/README to add the word "modify".
|
||||||
|
Define PNG_ALLOCATED to blank when _MSC_VER<1300.
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
@ -404,7 +404,11 @@
|
|||||||
# define PNG_PTR_NORETURN /* not supported */
|
# define PNG_PTR_NORETURN /* not supported */
|
||||||
# endif
|
# endif
|
||||||
# ifndef PNG_ALLOCATED
|
# ifndef PNG_ALLOCATED
|
||||||
# define PNG_ALLOCATED __declspec(restrict)
|
# if (_MSC_VER < 1300)
|
||||||
|
# define PNG_ALLOCATED /* not supported */
|
||||||
|
# else
|
||||||
|
# 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…
x
Reference in New Issue
Block a user