Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
8c466920
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
8c466920
编写于
8月 04, 2020
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
TD-1037
上级
a9899065
变更
10
展开全部
隐藏空白更改
内联
并排
Showing
10 changed file
with
366 addition
and
350 deletion
+366
-350
deps/CMakeLists.txt
deps/CMakeLists.txt
+1
-0
deps/iconv/CMakeLists.txt
deps/iconv/CMakeLists.txt
+1
-1
deps/pthread/CMakeLists.txt
deps/pthread/CMakeLists.txt
+1
-1
deps/regex/CMakeLists.txt
deps/regex/CMakeLists.txt
+1
-1
deps/zlib-1.2.11/CMakeLists.txt
deps/zlib-1.2.11/CMakeLists.txt
+1
-1
deps/zlib-1.2.11/inc/zconf.h
deps/zlib-1.2.11/inc/zconf.h
+348
-343
deps/zlib-1.2.11/src/zconf.h
deps/zlib-1.2.11/src/zconf.h
+6
-1
src/client/CMakeLists.txt
src/client/CMakeLists.txt
+1
-1
src/kit/shell/CMakeLists.txt
src/kit/shell/CMakeLists.txt
+1
-1
src/util/inc/tchecksum.h
src/util/inc/tchecksum.h
+5
-0
未找到文件。
deps/CMakeLists.txt
浏览文件 @
8c466920
...
...
@@ -7,6 +7,7 @@ ADD_SUBDIRECTORY(regex)
ADD_SUBDIRECTORY
(
iconv
)
ADD_SUBDIRECTORY
(
lz4
)
ADD_SUBDIRECTORY
(
cJson
)
#ADD_SUBDIRECTORY(MsvcLibX)
IF
(
NOT TD_WINDOWS
)
ADD_SUBDIRECTORY
(
MQTT-C
)
...
...
deps/iconv/CMakeLists.txt
浏览文件 @
8c466920
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
PROJECT
(
TDengine
)
IF
(
TD_WINDOWS
_64
)
IF
(
TD_WINDOWS
)
LIST
(
APPEND SRC iconv.c
)
LIST
(
APPEND SRC localcharset.c
)
INCLUDE_DIRECTORIES
(
.
)
...
...
deps/pthread/CMakeLists.txt
浏览文件 @
8c466920
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
PROJECT
(
TDengine
)
IF
(
TD_WINDOWS
_64
)
IF
(
TD_WINDOWS
)
INCLUDE_DIRECTORIES
(
.
)
LIST
(
APPEND SRC pthread.c
)
ADD_LIBRARY
(
pthread
${
SRC
}
)
...
...
deps/regex/CMakeLists.txt
浏览文件 @
8c466920
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
PROJECT
(
TDengine
)
IF
(
TD_WINDOWS
_64
)
IF
(
TD_WINDOWS
)
INCLUDE_DIRECTORIES
(
inc .
)
LIST
(
APPEND SRC regex.c
)
ADD_LIBRARY
(
regex
${
SRC
}
)
...
...
deps/zlib-1.2.11/CMakeLists.txt
浏览文件 @
8c466920
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
PROJECT
(
TDengine
)
IF
(
TD_LINUX_64
)
IF
(
TD_LINUX_64
OR TD_WINDOWS_64
)
INCLUDE_DIRECTORIES
(
inc
)
AUX_SOURCE_DIRECTORY
(
src SRC
)
ADD_LIBRARY
(
z
${
SRC
}
)
...
...
deps/zlib-1.2.11/inc/zconf.h
浏览文件 @
8c466920
此差异已折叠。
点击以展开。
deps/zlib-1.2.11/src/zconf.h
浏览文件 @
8c466920
...
...
@@ -472,7 +472,12 @@ typedef uLong FAR uLongf;
#endif
#ifndef Z_SOLO
# if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
# include <unistd.h>
/* for SEEK_*, off_t, and _LFS64_LARGEFILE */
#if (_WIN64)
#include <io.h>
#include <process.h>
#else
#include <unistd.h>
/* for SEEK_*, off_t, and _LFS64_LARGEFILE */
#endif
# ifdef VMS
# include <unixio.h>
/* for off_t */
# endif
...
...
src/client/CMakeLists.txt
浏览文件 @
8c466920
...
...
@@ -37,7 +37,7 @@ IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM))
ADD_SUBDIRECTORY
(
tests
)
ELSEIF
(
TD_WINDOWS
_64
)
ELSEIF
(
TD_WINDOWS
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/deps/jni/windows
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/deps/jni/windows/win32
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/deps/pthread
)
...
...
src/kit/shell/CMakeLists.txt
浏览文件 @
8c466920
...
...
@@ -22,7 +22,7 @@ IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM))
# ENDIF ()
SET_TARGET_PROPERTIES
(
shell PROPERTIES OUTPUT_NAME taos
)
ELSEIF
(
TD_WINDOWS
_64
)
ELSEIF
(
TD_WINDOWS
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/deps/pthread
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/deps/regex
)
LIST
(
APPEND SRC ./src/shellEngine.c
)
...
...
src/util/inc/tchecksum.h
浏览文件 @
8c466920
...
...
@@ -53,7 +53,12 @@ static FORCE_INLINE int taosCheckChecksum(const uint8_t *stream, uint32_t ssize,
static
FORCE_INLINE
int
taosCheckChecksumWhole
(
const
uint8_t
*
stream
,
uint32_t
ssize
)
{
if
(
ssize
<
sizeof
(
TSCKSUM
))
return
0
;
#if (_WIN64)
return
1
;
#else
return
*
((
TSCKSUM
*
)(
stream
+
ssize
-
sizeof
(
TSCKSUM
)))
==
(
*
crc32c
)(
0
,
stream
,
(
size_t
)(
ssize
-
sizeof
(
TSCKSUM
)));
#endif
}
#ifdef __cplusplus
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录