chore: windows check

This commit is contained in:
kailixu 2023-07-16 10:13:17 +08:00
parent 918d3cca0c
commit 0bfc1cc920
1 changed files with 2 additions and 0 deletions

View File

@ -72,9 +72,11 @@ static int32_t dmInitMonitor() {
DM_INIT_MON();
#ifndef WINDOWS
if (STR_STR_CMP(stName, STR_STR_SIGN)) {
DM_ERR_RTN(0);
}
#endif
if (taosGetOsReleaseName(reName, stName, ver, 64) != 0) {
DM_ERR_RTN(code);
}