X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.ac;h=866d8bbd5830ba9e8068383f688a60df61cdc23e;hb=620a63c3ed751a136a7a26a03de2924bda01d744;hp=7b4d59041c97d5cb374eb9db6d3d0dfa4c3898f0;hpb=7ed5be296326a770bb8c66eff7f549b8b35327e2;p=fw%2Fstlink diff --git a/configure.ac b/configure.ac index 7b4d590..866d8bb 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT([stlink],[0.5.1],[davem@devkitpro.org]) +AC_INIT([stlink],[0.5.2],[davem@devkitpro.org]) AC_CONFIG_SRCDIR([src/stlink-common.c]) AC_CONFIG_LIBOBJ_DIR([src]) AM_INIT_AUTOMAKE([1.10]) @@ -32,6 +32,7 @@ CFLAGS="$CFLAGS $USB_CFLAGS" case "${host}" in *-mingw32*) LIBS="$LIBS -lws2_32" + CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1 $CPPFLAGS" ;; esac AC_CONFIG_FILES([Makefile])