compile errors

This commit is contained in:
Shengliang Guan 2021-01-14 17:25:32 +08:00
parent eb85785891
commit f4539411dd
2 changed files with 3 additions and 4 deletions

View File

@ -20,6 +20,8 @@
extern "C" {
#endif
#include "osSocket.h"
int64_t taosReadImp(int32_t fd, void *buf, int64_t count);
int64_t taosWriteImp(int32_t fd, void *buf, int64_t count);
int64_t taosLSeekImp(int32_t fd, int64_t offset, int32_t whence);

View File

@ -183,11 +183,8 @@ static void arbSignalHandler(int32_t signum) {
sigaction(SIGHUP, &act, NULL);
sigaction(SIGINT, &act, NULL);
#ifndef WINDOWS
sInfo("shut down signal is %d, sender PID:%d", signum, sigInfo->si_pid);
#else
sInfo("shut down signal is %d", signum);
#endif
// inform main thread to exit
tsem_post(&tsArbSem);
}