提交 f4539411 编写于 作者: S Shengliang Guan

compile errors

上级 eb857858
...@@ -20,6 +20,8 @@ ...@@ -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) { ...@@ -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);
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册