1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-07 04:01:59 +03:00

Fix build on Windows

This commit is contained in:
Vladislav Vaintroub 2013-04-25 15:11:59 +02:00
parent 203264ddc9
commit 1d130cc697

View File

@ -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;