]> git.sesse.net Git - vlc/commitdiff
FIX mingw runtime 3.15 is the minimun
authorbasos G <noxelia 4t gmail , com>
Fri, 17 Apr 2009 14:37:03 +0000 (17:37 +0300)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 17 Apr 2009 16:45:48 +0000 (18:45 +0200)
An issue regrading %zu vasprintf NOT being recognized
by mingw runtime's 3.14 is fixed with an upgrade to 3.15
So make this the least required standart.
Note that this issue lead to a vlc early crash on windows
and is generally toxic on cases where %s is following a
misinterpreted %zu

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
configure.ac

index 9bd2c24b828b7cda1efc30a69112dccd2fe27d05..9a14a0e6ff108c047a3bc445f4c40b83d5eddc28 100644 (file)
@@ -475,14 +475,14 @@ AS_IF([test "${SYS}" = "mingw32"], [
     AC_MSG_CHECKING(for broken mingw-runtime)
     AC_PREPROC_IFELSE([
 #include <_mingw.h>
-#if (__MINGW32_MAJOR_VERSION == 3) && (__MINGW32_MINOR_VERSION < 14)
+#if (__MINGW32_MAJOR_VERSION == 3) && (__MINGW32_MINOR_VERSION < 15)
 # error Attempting to use mingw-runtime with broken vsnprintf support
 #endif
 ], [
         AC_MSG_RESULT([ok])
 ], [
         AC_MSG_RESULT([present])
-        AC_MSG_ERROR([LibVLC requires mingw-runtime version 3.14 or higher!])
+        AC_MSG_ERROR([LibVLC requires mingw-runtime version 3.15 or higher!])
 ])
     dnl force use of mingw provided c99 *printf over msvcrt
     CPPFLAGS="${CPPFLAGS} -D__USE_MINGW_ANSI_STDIO=1"