提交 1f0eaa04 编写于 作者: G Glenn Randers-Pehrson

[libpng16] Revised pngconf.h to use " __declspec(restrict)" if MSC_VER >= 1400.

上级 6bdefdd9
Libpng 1.6.0alpha01 - November 29, 2011
Libpng 1.6.0alpha01 - December 2, 2011
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.
......@@ -107,7 +107,7 @@ Version 1.5.7beta05 [(PENDING RELEASE)]
Added MINGW support to CMakeLists.txt
Reject invalid compression flag or method when reading the iTXt chunk.
Version 1.6.0alpha01 [November 29, 2011]
Version 1.6.0alpha01 [December 2, 2011]
Removed machine-generated configure files from the GIT repository (they will
continue to appear in the tarball distributions).
Restored the new 'simplified' API, which was deleted from libpng-1.5.7.
......@@ -131,6 +131,8 @@ Version 1.6.0alpha01 [November 29, 2011]
to read such images).
Replaced an "#if" with "ifdef" in pngrtran.c
New tools directory containing tools used to generate libpng code.
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:
(subscription required; visit
......
......@@ -3752,7 +3752,7 @@ Version 1.5.7beta05 [(PENDING RELEASE)]
Added MINGW support to CMakeLists.txt
Reject invalid compression flag or method when reading the iTXt chunk.
Version 1.6.0alpha01 [November 29, 2011]
Version 1.6.0alpha01 [December 2, 2011]
Removed machine-generated configure files from the GIT repository (they will
continue to appear in the tarball distributions).
Restored the new 'simplified' API, which was deleted from libpng-1.5.7.
......@@ -3776,6 +3776,8 @@ Version 1.6.0alpha01 [November 29, 2011]
to read such images).
Replaced an "#if" with "ifdef" in pngrtran.c
New tools directory containing tools used to generate libpng code.
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
(subscription required; visit
......
/* pngconf.h - machine configurable file for libpng
*
* libpng version 1.6.0alpha01 - November 27, 2011
* libpng version 1.6.0alpha01 - December 2, 2011
*
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
......@@ -370,7 +370,7 @@
# define PNG_NORETURN __declspec(noreturn)
# endif
# ifndef PNG_ALLOCATED
# if defined(_MSC_VER) && (_MSC_VER >= 1300)
# if (_MSC_VER >= 1400)
# define PNG_ALLOCATED __declspec(restrict)
# endif
# endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册