Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/ma_global.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
#define strerror_r(errno,buf,len) strerror_s(buf,len,errno)
#endif
#define STDCALL __stdcall
#define strerror_r(errno,buf,len) strerror_s(buf,len,errno)
#define STDCALL __stdcall
#endif

#include <ma_config.h>
Expand Down
6 changes: 3 additions & 3 deletions libmariadb/ma_client_plugin.c.in
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ mysql_client_register_plugin(MYSQL *mysql,

/* see <mysql/client_plugin.h> for a full description */
struct st_mysql_client_plugin * STDCALL
mysql_load_plugin_v(MYSQL *mysql, const char *name, int type,
mysql_load_plugin_v(struct st_mysql *mysql, const char *name, int type,
int argc, va_list args)
{
const char *errmsg;
Expand Down Expand Up @@ -467,8 +467,8 @@ err:


/* see <mysql/client_plugin.h> for a full description */
struct st_mysql_client_plugin * STDCALL
mysql_load_plugin(MYSQL *mysql, const char *name, int type, int argc, ...)
struct st_mysql_client_plugin *
mysql_load_plugin(struct st_mysql *mysql, const char *name, int type, int argc, ...)
{
struct st_mysql_client_plugin *p;
va_list args;
Expand Down