chore: windows check
This commit is contained in:
parent
918d3cca0c
commit
0bfc1cc920
|
@ -72,9 +72,11 @@ static int32_t dmInitMonitor() {
|
||||||
|
|
||||||
DM_INIT_MON();
|
DM_INIT_MON();
|
||||||
|
|
||||||
|
#ifndef WINDOWS
|
||||||
if (STR_STR_CMP(stName, STR_STR_SIGN)) {
|
if (STR_STR_CMP(stName, STR_STR_SIGN)) {
|
||||||
DM_ERR_RTN(0);
|
DM_ERR_RTN(0);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (taosGetOsReleaseName(reName, stName, ver, 64) != 0) {
|
if (taosGetOsReleaseName(reName, stName, ver, 64) != 0) {
|
||||||
DM_ERR_RTN(code);
|
DM_ERR_RTN(code);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue