fix:compile error in windows
This commit is contained in:
parent
0a7d8f3a69
commit
acf6e53894
|
@ -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");
|
||||
|
||||
|
|
|
@ -237,7 +237,9 @@ void taos_cleanup(void) {
|
|||
tscWarn("failed to cleanup task queue");
|
||||
}
|
||||
|
||||
#ifndef WINDOWS
|
||||
tzCleanup();
|
||||
#endif
|
||||
tmqMgmtClose();
|
||||
|
||||
int32_t id = clientReqRefPool;
|
||||
|
|
Loading…
Reference in New Issue