提交 d7ff00a9 编写于 作者: dengyihao's avatar dengyihao

change write opt

上级 eff4257d
...@@ -22,19 +22,19 @@ extern "C" { ...@@ -22,19 +22,19 @@ extern "C" {
// If the error is in a third-party library, place this header file under the third-party library header file. // If the error is in a third-party library, place this header file under the third-party library header file.
// When you want to use this feature, you should find or add the same function in the following sectio // When you want to use this feature, you should find or add the same function in the following sectio
#if !defined(WINDOWS) // #if !defined(WINDOWS)
#ifndef ALLOW_FORBID_FUNC // #ifndef ALLOW_FORBID_FUNC
#define malloc MALLOC_FUNC_TAOS_FORBID // #define malloc MALLOC_FUNC_TAOS_FORBID
#define calloc CALLOC_FUNC_TAOS_FORBID // #define calloc CALLOC_FUNC_TAOS_FORBID
#define realloc REALLOC_FUNC_TAOS_FORBID // #define realloc REALLOC_FUNC_TAOS_FORBID
#define free FREE_FUNC_TAOS_FORBID // #define free FREE_FUNC_TAOS_FORBID
#ifdef strdup // #ifdef strdup
#undef strdup // #undef strdup
#define strdup STRDUP_FUNC_TAOS_FORBID // #define strdup STRDUP_FUNC_TAOS_FORBID
#endif // #endif
#endif // ifndef ALLOW_FORBID_FUNC // #endif // ifndef ALLOW_FORBID_FUNC
#endif // if !defined(WINDOWS) // #endif // if !defined(WINDOWS)
// // #define taosMemoryFree malloc // // #define taosMemoryFree malloc
// #define taosMemoryMalloc malloc // #define taosMemoryMalloc malloc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册