compile error in windows

This commit is contained in:
Shengliang Guan 2020-10-31 11:46:18 +08:00
parent 32123de693
commit 395bdd2c97
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@
extern "C" {
#endif
#define TSDB_USE_SYS_MEM
#ifdef TSDB_USE_SYS_MEM
#define tmalloc(size) malloc(size)
#define tcalloc(size) calloc(1, size)