Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Jan 17, 2022
1 parent 98f1ce3 commit bd0cb64
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/inc/taoserror.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ extern "C" {
#define TAOS_SUCCEEDED(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 int32_t* taosGetErrno();
Expand Down

0 comments on commit bd0cb64

Please sign in to comment.