diff options
-rw-r--r-- | configure.in | 6 | ||||
-rw-r--r-- | navit/support/glib/gmessages.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 32aa54301..61e6ecc2d 100644 --- a/configure.in +++ b/configure.in @@ -624,6 +624,12 @@ wince) gui_win32=yes; gui_win32_reason="host_os is wince" graphics_win32=yes; graphics_win32_reason="host_os is wince" ;; +mingw32) + win32=yes + AC_DEFINE(HAVE_API_WIN32_BASE, 1, [Have Windows Base API]) + AC_DEFINE(HAVE_API_WIN32, 1, [Have Windows API]) + gui_win32=yes; gui_win32_reason="host_os is mingw32" + graphics_win32=yes; graphics_win32_reason="host_os is mingw32" esac if test "x$win32" = "xyes" then diff --git a/navit/support/glib/gmessages.c b/navit/support/glib/gmessages.c index 25a0769bc..548a412c4 100644 --- a/navit/support/glib/gmessages.c +++ b/navit/support/glib/gmessages.c @@ -1062,7 +1062,7 @@ gsize g_printf_string_upper_bound (const gchar *format, va_list args) { -#ifdef HAVE_API_WIN32_CE +#ifdef HAVE_API_WIN32_BASE gchar c[16384]; return _g_vsnprintf (c, 16384, format, args) + 1; #else |