提交 d59ceb7b 编写于 作者: S slguan

[TD-992]

上级 8089a23c
...@@ -6,11 +6,11 @@ IF (TD_LINUX_64) ...@@ -6,11 +6,11 @@ IF (TD_LINUX_64)
ELSEIF (TD_LINUX_32) ELSEIF (TD_LINUX_32)
ADD_SUBDIRECTORY(src/linux32) ADD_SUBDIRECTORY(src/linux32)
ELSEIF (TD_DARWIN_64) ELSEIF (TD_DARWIN_64)
ADD_SUBDIRECTORY(src/darwin64) ADD_SUBDIRECTORY(src/darwin)
ELSEIF (TD_WINDOWS_64) ELSEIF (TD_WINDOWS_64)
ADD_SUBDIRECTORY(src/windows64) ADD_SUBDIRECTORY(src/windows)
ELSEIF (TD_WINDOWS_32) ELSEIF (TD_WINDOWS_32)
ADD_SUBDIRECTORY(src/windows32) ADD_SUBDIRECTORY(src/windows)
ENDIF () ENDIF ()
ADD_SUBDIRECTORY(src/detail) ADD_SUBDIRECTORY(src/detail)
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "os.h" #include "os.h"
#include "tglobal.h" #include "tglobal.h"
#include "tulog.h"
void osInit() { void osInit() {
strcpy(configDir, "~/TDengine/cfg"); strcpy(configDir, "~/TDengine/cfg");
......
...@@ -15,13 +15,7 @@ ...@@ -15,13 +15,7 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "os.h" #include "os.h"
#include "os.h"
#include "taosdef.h"
#include "tglobal.h"
#include "tconfig.h"
#include "ttimer.h"
#include "tulog.h" #include "tulog.h"
#include "tutil.h"
#define _SEND_FILE_STEP_ 1000 #define _SEND_FILE_STEP_ 1000
......
...@@ -15,13 +15,6 @@ ...@@ -15,13 +15,6 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "os.h" #include "os.h"
#include "os.h"
#include "taosdef.h"
#include "tglobal.h"
#include "tconfig.h"
#include "ttimer.h"
#include "tulog.h"
#include "tutil.h"
int tsem_init(dispatch_semaphore_t *sem, int pshared, unsigned int value) { int tsem_init(dispatch_semaphore_t *sem, int pshared, unsigned int value) {
*sem = dispatch_semaphore_create(value); *sem = dispatch_semaphore_create(value);
......
...@@ -15,13 +15,6 @@ ...@@ -15,13 +15,6 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "os.h" #include "os.h"
#include "os.h"
#include "taosdef.h"
#include "tglobal.h"
#include "tconfig.h"
#include "ttimer.h"
#include "tulog.h"
#include "tutil.h"
int taosSetSockOpt(int socketfd, int level, int optname, void *optval, int optlen) { int taosSetSockOpt(int socketfd, int level, int optname, void *optval, int optlen) {
if (level == SOL_SOCKET && optname == SO_SNDBUF) { if (level == SOL_SOCKET && optname == SO_SNDBUF) {
......
...@@ -15,13 +15,9 @@ ...@@ -15,13 +15,9 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "os.h" #include "os.h"
#include "os.h"
#include "taosdef.h"
#include "tglobal.h"
#include "tconfig.h" #include "tconfig.h"
#include "ttimer.h" #include "tglobal.h"
#include "tulog.h" #include "tulog.h"
#include "tutil.h"
static void taosGetSystemTimezone() { static void taosGetSystemTimezone() {
// get and set default timezone // get and set default timezone
......
...@@ -15,13 +15,6 @@ ...@@ -15,13 +15,6 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "os.h" #include "os.h"
#include "os.h"
#include "taosdef.h"
#include "tglobal.h"
#include "tconfig.h"
#include "ttimer.h"
#include "tulog.h"
#include "tutil.h"
int taosInitTimer(void (*callback)(int), int ms) { int taosInitTimer(void (*callback)(int), int ms) {
signal(SIGALRM, callback); signal(SIGALRM, callback);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册