提交 4b137f1c 编写于 作者: J jiacy-jcy

fix: mktime on windows platform

上级 7ae36630
...@@ -368,7 +368,7 @@ int32_t taosGetTimeOfDay(struct timeval *tv) { ...@@ -368,7 +368,7 @@ int32_t taosGetTimeOfDay(struct timeval *tv) {
time_t taosTime(time_t *t) { return time(t); } time_t taosTime(time_t *t) { return time(t); }
time_t taosMktime(struct tm *timep) { time_t taosMktime(struct tm *timep) {
#ifdef WINDOWS #ifdef WINDOWS_STASH
struct tm tm1 = {0}; struct tm tm1 = {0};
LARGE_INTEGER t; LARGE_INTEGER t;
FILETIME f; FILETIME f;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册