提交 bd0cb641 编写于 作者: weixin_47267244's avatar weixin_47267244

Fix

上级 98f1ce31
...@@ -29,6 +29,12 @@ extern "C" { ...@@ -29,6 +29,12 @@ extern "C" {
#define TAOS_SUCCEEDED(err) ((err) >= 0) #define TAOS_SUCCEEDED(err) ((err) >= 0)
#define TAOS_FAILED(err) ((err) < 0) #define TAOS_FAILED(err) ((err) < 0)
#ifdef _TD_GO_DLL_
#define DLL_EXPORT __declspec(dllexport)
#else
#define DLL_EXPORT
#endif
DLL_EXPORT const char* tstrerror(int32_t err); DLL_EXPORT const char* tstrerror(int32_t err);
DLL_EXPORT int32_t* taosGetErrno(); DLL_EXPORT int32_t* taosGetErrno();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册