You've already forked mariadb-connector-c
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user