Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
122bec17
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
12 个月 前同步成功
通知
4
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Libpng
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
122bec17
编写于
5月 08, 2013
作者:
J
John Bowler
提交者:
Glenn Randers-Pehrson
5月 08, 2013
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng16]Check ZLIB_VERNUM for mismatches, enclose #error in quotes
上级
9afb90f8
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
22 addition
and
2 deletion
+22
-2
ANNOUNCE
ANNOUNCE
+1
-0
CHANGES
CHANGES
+1
-0
contrib/tools/pngdeflate.c
contrib/tools/pngdeflate.c
+2
-2
pngpriv.h
pngpriv.h
+18
-0
未找到文件。
ANNOUNCE
浏览文件 @
122bec17
...
@@ -71,6 +71,7 @@ Version 1.6.3beta05 [May 8, 2013]
...
@@ -71,6 +71,7 @@ Version 1.6.3beta05 [May 8, 2013]
invalid values.
invalid values.
Attempt to detect configuration issues with pngdeflate, which requires
Attempt to detect configuration issues with pngdeflate, which requires
both the correct libpng and the correct zlib to function correctly.
both the correct libpng and the correct zlib to function correctly.
Check ZLIB_VERNUM for mismatches, enclose #error in quotes
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
...
...
CHANGES
浏览文件 @
122bec17
...
@@ -4554,6 +4554,7 @@ Version 1.6.3beta05 [May 8, 2013]
...
@@ -4554,6 +4554,7 @@ Version 1.6.3beta05 [May 8, 2013]
invalid values.
invalid values.
Attempt to detect configuration issues with pngdeflate, which requires
Attempt to detect configuration issues with pngdeflate, which requires
both the correct libpng and the correct zlib to function correctly.
both the correct libpng and the correct zlib to function correctly.
Check ZLIB_VERNUM for mismatches, enclose #error in quotes
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
...
...
contrib/tools/pngdeflate.c
浏览文件 @
122bec17
...
@@ -26,14 +26,14 @@
...
@@ -26,14 +26,14 @@
#endif
#endif
#if PNG_LIBPNG_VER < 10603
/* 1.6.3 */
#if PNG_LIBPNG_VER < 10603
/* 1.6.3 */
# error
pngdeflate will not work with libpng versions prior to 1.6.3
# error
"pngdeflate will not work with libpng versions prior to 1.6.3"
#endif
#endif
#ifdef PNG_READ_SUPPORTED
#ifdef PNG_READ_SUPPORTED
#include <zlib.h>
#include <zlib.h>
#ifndef PNG_MAXIMUM_INFLATE_WINDOW
#ifndef PNG_MAXIMUM_INFLATE_WINDOW
# error
pngdeflate not supported in this libpng version
# error
"pngdeflate not supported in this libpng version"
#endif
#endif
#if PNG_ZLIB_VERNUM >= 0x1240
#if PNG_ZLIB_VERNUM >= 0x1240
...
...
pngpriv.h
浏览文件 @
122bec17
...
@@ -694,6 +694,24 @@
...
@@ -694,6 +694,24 @@
#include "pngstruct.h"
#include "pngstruct.h"
#include "pnginfo.h"
#include "pnginfo.h"
/* Validate the include paths - the include path used to generate pnglibconf.h
* must match that used in the build, or we must be using pnglibconf.h.prebuilt:
*/
#if PNG_ZLIB_VERNUM != 0 && PNG_ZLIB_VERNUM != ZLIB_VERNUM
# error ZLIB_VERNUM != PNG_ZLIB_VERNUM \
"-I (include path) error: see the notes in pngpriv.h"
/* This means that when pnglibconf.h was built the copy of zlib.h that it
* used is not the same as the one being used here. Because the build of
* libpng makes decisions to use inflateInit2 and inflateReset2 based on the
* zlib version number and because this affects handling of certain broken
* PNG files the -I directives must match.
*
* The most likely explanation is that you passed a -I in CFLAGS, this will
* not work; all the preprocessor directories and in particular all the -I
* directives must be in CPPFLAGS.
*/
#endif
/* This is used for 16 bit gamma tables -- only the top level pointers are
/* This is used for 16 bit gamma tables -- only the top level pointers are
* const; this could be changed:
* const; this could be changed:
*/
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录