fix:compile error in windows

This commit is contained in:
yihaoDeng 2024-12-09 18:00:30 +08:00
parent 0a7d8f3a69
commit acf6e53894
2 changed files with 4 additions and 1 deletions

View File

@ -976,8 +976,9 @@ void taos_init_imp(void) {
tscError("failed to init conv");
return;
}
#ifndef WINDOWS
ENV_ERR_RET(tzInit(), "failed to init timezone");
#endif
ENV_ERR_RET(monitorInit(), "failed to init monitor");
ENV_ERR_RET(rpcInit(), "failed to init rpc");

View File

@ -237,7 +237,9 @@ void taos_cleanup(void) {
tscWarn("failed to cleanup task queue");
}
#ifndef WINDOWS
tzCleanup();
#endif
tmqMgmtClose();
int32_t id = clientReqRefPool;