fix: mktime on windows platform

This commit is contained in:
jiacy-jcy 2023-08-06 23:32:54 +08:00
parent 7ae366303a
commit 4b137f1ca0
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ int32_t taosGetTimeOfDay(struct timeval *tv) {
time_t taosTime(time_t *t) { return time(t); }
time_t taosMktime(struct tm *timep) {
#ifdef WINDOWS
#ifdef WINDOWS_STASH
struct tm tm1 = {0};
LARGE_INTEGER t;
FILETIME f;