mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Yet another attempted cygwin fix
This commit is contained in:
parent
05092351df
commit
7436fa0e0e
@ -114,7 +114,7 @@ char *g_strdup_printf(const char *format, ...) {
|
||||
va_start(argp, format);
|
||||
#ifdef __CYGWIN__
|
||||
size_t len = 0;
|
||||
vasnprintf(&ret, &len, format, argp);
|
||||
ret = vasnprintf(ret, &len, format, argp);
|
||||
#else
|
||||
vasprintf(&ret, format, argp);
|
||||
#endif
|
||||
|
@ -8,6 +8,7 @@ mdb_tables_SOURCES = mdb-tables.c
|
||||
mdb_sql_SOURCES = mdb-sql.c
|
||||
mdb_ver_SOURCES = mdb-ver.c
|
||||
mdb_import_SOURCES = mdb-import.c
|
||||
updrow_SOURCES = updrow.c
|
||||
if !HAVE_GLIB
|
||||
mdb_export_SOURCES += ../libmdb/fakeglib.c
|
||||
mdb_schema_SOURCES += ../libmdb/fakeglib.c
|
||||
@ -15,6 +16,7 @@ mdb_tables_SOURCES += ../libmdb/fakeglib.c
|
||||
mdb_sql_SOURCES += ../libmdb/fakeglib.c
|
||||
mdb_ver_SOURCES += ../libmdb/fakeglib.c
|
||||
mdb_import_SOURCES += ../libmdb/fakeglib.c
|
||||
updrow_SOURCES += ../libmdb/fakeglib.c
|
||||
endif
|
||||
LIBS = $(GLIB_LIBS) @LIBS@
|
||||
DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\"
|
||||
|
Loading…
Reference in New Issue
Block a user