提交 249e599b 编写于 作者: S Shengliang Guan

compile error in windows

上级 395bdd2c
...@@ -17,8 +17,10 @@ ...@@ -17,8 +17,10 @@
#include "os.h" #include "os.h"
#include "taoserror.h" #include "taoserror.h"
#include "tulog.h" #include "tulog.h"
#include "talloc.h"
#define TSDB_HAVE_MEMALIGN #define TSDB_HAVE_MEMALIGN
#ifndef TSDB_USE_SYS_MEM
void *tmalloc(int32_t size) { void *tmalloc(int32_t size) {
void *p = malloc(size); void *p = malloc(size);
...@@ -74,3 +76,4 @@ void *tmemalign(int32_t alignment, int32_t size) { ...@@ -74,3 +76,4 @@ void *tmemalign(int32_t alignment, int32_t size) {
void *tmemalign(int32_t alignment, int32_t size) { return tmalloc(size); } void *tmemalign(int32_t alignment, int32_t size) { return tmalloc(size); }
#endif #endif
#endif
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册