compile errors
This commit is contained in:
parent
eb85785891
commit
f4539411dd
|
@ -20,6 +20,8 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "osSocket.h"
|
||||||
|
|
||||||
int64_t taosReadImp(int32_t fd, void *buf, int64_t count);
|
int64_t taosReadImp(int32_t fd, void *buf, int64_t count);
|
||||||
int64_t taosWriteImp(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);
|
int64_t taosLSeekImp(int32_t fd, int64_t offset, int32_t whence);
|
||||||
|
|
|
@ -183,11 +183,8 @@ static void arbSignalHandler(int32_t signum) {
|
||||||
sigaction(SIGHUP, &act, NULL);
|
sigaction(SIGHUP, &act, NULL);
|
||||||
sigaction(SIGINT, &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);
|
sInfo("shut down signal is %d", signum);
|
||||||
#endif
|
|
||||||
// inform main thread to exit
|
// inform main thread to exit
|
||||||
tsem_post(&tsArbSem);
|
tsem_post(&tsArbSem);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue