Commit 1d130cc6 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix build on Windows

parent 203264dd
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
#define __attribute__(A) #define __attribute__(A)
#endif #endif
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
static volatile int ncalls; /* for SHOW STATUS, see below */ static volatile int ncalls; /* for SHOW STATUS, see below */
static volatile int ncalls_general_log; static volatile int ncalls_general_log;
static volatile int ncalls_general_error; static volatile int ncalls_general_error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment