fix: compile error in windows
This commit is contained in:
parent
85f5d4d5e5
commit
7b3e10034c
|
@ -448,7 +448,7 @@ static inline void taosPrintLogImp(ELogLevel level, int32_t dflag, const char *b
|
||||||
if (dflag & DEBUG_SCREEN) {
|
if (dflag & DEBUG_SCREEN) {
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
write(STDOUT_FILENO, buffer, (uint32_t)len);
|
write(1, buffer, (uint32_t)len);
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue