diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-04-25 15:11:59 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-04-25 15:11:59 +0200 |
commit | 1d130cc6970073b5459801b51a2b87e4f08bd97c (patch) | |
tree | bef11676a1139964913dce68c28671c5f3ad31c5 /plugin | |
parent | 203264ddc9c399fa4a86b589ae638eccfb66e9ed (diff) | |
download | mariadb-git-1d130cc6970073b5459801b51a2b87e4f08bd97c.tar.gz |
Fix build on Windows
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/audit_null/audit_null.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/audit_null/audit_null.c b/plugin/audit_null/audit_null.c index 916c7187a57..fd4cd1d1e87 100644 --- a/plugin/audit_null/audit_null.c +++ b/plugin/audit_null/audit_null.c @@ -22,6 +22,10 @@ #define __attribute__(A) #endif +#ifdef _MSC_VER +#define snprintf _snprintf +#endif + static volatile int ncalls; /* for SHOW STATUS, see below */ static volatile int ncalls_general_log; static volatile int ncalls_general_error; |