mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 02:27:55 +08:00
Try fixing Cygwin
This commit is contained in:
@@ -96,7 +96,7 @@ typedef struct GOptionContext {
|
||||
#define g_free free
|
||||
#define g_realloc realloc
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined _WIN32 || defined __CYGWIN__
|
||||
#define g_strdup _strdup
|
||||
#else
|
||||
#define g_strdup strdup
|
||||
|
@@ -83,7 +83,7 @@ char *g_strconcat(const char *first, ...) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined _WIN32 || defined __CYGWIN__
|
||||
int vasprintf(char **ret, const char *format, va_list ap) {
|
||||
int len;
|
||||
int retval;
|
||||
|
Reference in New Issue
Block a user