Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
99106dea
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
大约 1 年 前同步成功
通知
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,发现更多精彩内容 >>
提交
99106dea
编写于
11月 01, 2009
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[devel] Restored WIN32_WCE #ifdefs involving the time.h "tm" structure
WindowsCE does not provide the "tm" structure.
上级
34a2ebdc
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
3 deletion
+10
-3
ANNOUNCE
ANNOUNCE
+2
-1
CHANGES
CHANGES
+2
-1
png.h
png.h
+3
-0
pngwrite.c
pngwrite.c
+3
-1
未找到文件。
ANNOUNCE
浏览文件 @
99106dea
...
@@ -595,7 +595,8 @@ version 1.4.0beta89 [November 1, 2009]
...
@@ -595,7 +595,8 @@ version 1.4.0beta89 [November 1, 2009]
Merged libpng-1.2.41.txt with libpng-1.4.0.txt where appropriate.
Merged libpng-1.2.41.txt with libpng-1.4.0.txt where appropriate.
version 1.4.0beta90 [November 1, 2009]
version 1.4.0beta90 [November 1, 2009]
Removed all remaining WIN32_WCE #ifdefs
Removed all remaining WIN32_WCE #ifdefs except those involving the
time.h "tm" structure
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
浏览文件 @
99106dea
...
@@ -2281,7 +2281,8 @@ version 1.4.0beta89 [November 1, 2009]
...
@@ -2281,7 +2281,8 @@ version 1.4.0beta89 [November 1, 2009]
Merged libpng-1.2.41.txt with libpng-1.4.0.txt where appropriate.
Merged libpng-1.2.41.txt with libpng-1.4.0.txt where appropriate.
version 1.4.0beta90 [November 1, 2009]
version 1.4.0beta90 [November 1, 2009]
Removed all remaining WIN32_WCE #ifdefs
Removed all remaining WIN32_WCE #ifdefs except those involving the
time "tm" structure
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
...
...
png.h
浏览文件 @
99106dea
...
@@ -1443,12 +1443,15 @@ extern PNG_EXPORT(png_charp,png_convert_to_rfc1123)
...
@@ -1443,12 +1443,15 @@ extern PNG_EXPORT(png_charp,png_convert_to_rfc1123)
#ifdef PNG_WRITE_tIME_SUPPORTED
#ifdef PNG_WRITE_tIME_SUPPORTED
/* Convert from a struct tm to png_time */
/* Convert from a struct tm to png_time */
# ifndef _WIN32_WCE
/* "tm" structure is not supported on WindowsCE */
extern
PNG_EXPORT
(
void
,
png_convert_from_struct_tm
)
PNGARG
((
png_timep
ptime
,
extern
PNG_EXPORT
(
void
,
png_convert_from_struct_tm
)
PNGARG
((
png_timep
ptime
,
struct
tm
FAR
*
ttime
));
struct
tm
FAR
*
ttime
));
/* Convert from time_t to png_time. Uses gmtime() */
/* Convert from time_t to png_time. Uses gmtime() */
extern
PNG_EXPORT
(
void
,
png_convert_from_time_t
)
PNGARG
((
png_timep
ptime
,
extern
PNG_EXPORT
(
void
,
png_convert_from_time_t
)
PNGARG
((
png_timep
ptime
,
time_t
ttime
));
time_t
ttime
));
# endif
/* _WIN32_WCE */
#endif
/* PNG_WRITE_tIME_SUPPORTED */
#endif
/* PNG_WRITE_tIME_SUPPORTED */
#ifdef PNG_READ_EXPAND_SUPPORTED
#ifdef PNG_READ_EXPAND_SUPPORTED
...
...
pngwrite.c
浏览文件 @
99106dea
...
@@ -421,6 +421,8 @@ png_write_end(png_structp png_ptr, png_infop info_ptr)
...
@@ -421,6 +421,8 @@ png_write_end(png_structp png_ptr, png_infop info_ptr)
}
}
#ifdef PNG_WRITE_tIME_SUPPORTED
#ifdef PNG_WRITE_tIME_SUPPORTED
#ifndef _WIN32_WCE
/* "tm" structure is not supported on WindowsCE */
void
PNGAPI
void
PNGAPI
png_convert_from_struct_tm
(
png_timep
ptime
,
struct
tm
FAR
*
ttime
)
png_convert_from_struct_tm
(
png_timep
ptime
,
struct
tm
FAR
*
ttime
)
{
{
...
@@ -445,7 +447,7 @@ png_convert_from_time_t(png_timep ptime, time_t ttime)
...
@@ -445,7 +447,7 @@ png_convert_from_time_t(png_timep ptime, time_t ttime)
png_convert_from_struct_tm
(
ptime
,
tbuf
);
png_convert_from_struct_tm
(
ptime
,
tbuf
);
}
}
#endif
#endif
#endif
/* Initialize png_ptr structure, and allocate any memory needed */
/* Initialize png_ptr structure, and allocate any memory needed */
png_structp
PNGAPI
png_structp
PNGAPI
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录