1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

compilation on Windows

Windows doesn't have strncasecmp, it has _strnicmp
This commit is contained in:
Sergei Golubchik
2019-02-06 18:14:57 +01:00
parent 3e8973cf46
commit 1e5e21cae9

View File

@@ -70,6 +70,7 @@
#include <mysql/client_plugin.h>
#ifdef _WIN32
#include "Shlwapi.h"
#define strncasecmp _strnicmp
#endif
#define ASYNC_CONTEXT_DEFAULT_STACK_SIZE (4096*15)