mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-02-26 13:52:42 +08:00
Windows GitHub Action (#231)
* Migrate the Windows Msys2 build from Appveyor to GitHub Actions * Fix build with newer versions of Msys2 (fix `vasprintf` conflict) * Enable SQL tests on the Cygwin build on Appveyor * Fix an error message about Bison not being available when in fact Flex was not available * Don't fail fast with Mac and Linux GitHub Actions
This commit is contained in:
@@ -106,7 +106,7 @@ char *g_strconcat(const char *first, ...) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
#if defined _WIN32
|
||||
#if defined _WIN32 && !defined(HAVE_VASPRINTF) && !defined(HAVE_VASNPRINTF)
|
||||
int vasprintf(char **ret, const char *format, va_list ap) {
|
||||
int len;
|
||||
int retval;
|
||||
@@ -134,7 +134,7 @@ char *g_strdup_printf(const char *format, ...) {
|
||||
va_list argp;
|
||||
|
||||
va_start(argp, format);
|
||||
#ifdef __CYGWIN__
|
||||
#ifdef HAVE_VASNPRINTF
|
||||
size_t len = 0;
|
||||
ret = vasnprintf(ret, &len, format, argp);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user