mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng15] Revised pngconf.h to use " __declspec(restrict)" if MSC_VER >= 1400,
as in libpng-1.5.4.
This commit is contained in:
parent
1be5c22e5c
commit
c4fe32016c
2
ANNOUNCE
2
ANNOUNCE
@ -120,6 +120,8 @@ Version 1.5.7rc01 [December 1, 2011]
|
|||||||
Version 1.5.7rc02 [December 2, 2011]
|
Version 1.5.7rc02 [December 2, 2011]
|
||||||
Revised project files and contrib/pngvalid/pngvalid.c to account for
|
Revised project files and contrib/pngvalid/pngvalid.c to account for
|
||||||
the relocation of pngvalid into contrib/libtests.
|
the relocation of pngvalid into contrib/libtests.
|
||||||
|
Revised pngconf.h to use " __declspec(restrict)" only when MSC_VER >= 1400,
|
||||||
|
as in libpng-1.5.4.
|
||||||
|
|
||||||
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
@ -3765,6 +3765,8 @@ Version 1.5.7rc01 [December 1, 2011]
|
|||||||
Version 1.5.7rc02 [December 2, 2011]
|
Version 1.5.7rc02 [December 2, 2011]
|
||||||
Revised project files and contrib/pngvalid/pngvalid.c to account for
|
Revised project files and contrib/pngvalid/pngvalid.c to account for
|
||||||
the relocation of pngvalid into contrib/libtests.
|
the relocation of pngvalid into contrib/libtests.
|
||||||
|
Revised pngconf.h to use " __declspec(restrict)" only when MSC_VER >= 1400,
|
||||||
|
as in libpng-1.5.4.
|
||||||
|
|
||||||
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
|
||||||
|
@ -366,10 +366,10 @@
|
|||||||
# define PNG_USE_RESULT /* not supported */
|
# define PNG_USE_RESULT /* not supported */
|
||||||
# endif
|
# endif
|
||||||
# ifndef PNG_NORETURN
|
# ifndef PNG_NORETURN
|
||||||
# define PNG_NORETURN __declspec(noreturn)
|
# define PNG_NORETURN __declspec(noreturn)
|
||||||
# endif
|
# endif
|
||||||
# ifndef PNG_ALLOCATED
|
# ifndef PNG_ALLOCATED
|
||||||
# if defined(_MSC_VER) && (_MSC_VER >= 1300)
|
# if (_MSC_VER >= 1400)
|
||||||
# define PNG_ALLOCATED __declspec(restrict)
|
# define PNG_ALLOCATED __declspec(restrict)
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user