[vlc-commits] commit: Don't trust __MINGW32_MINOR_VERSION for mingw64 ( Rafaël Carré )

git at videolan.org git at videolan.org
Sun Oct 10 19:34:20 CEST 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Sun Oct 10 19:33:21 2010 +0200| [4eb06506baf726fd4afbe8dbd900ec73100efdbb] | committer: Rafaël Carré 

Don't trust __MINGW32_MINOR_VERSION for mingw64

the version number hasn't been updated

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4eb06506baf726fd4afbe8dbd900ec73100efdbb
---

 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index c719676..a662436 100644
--- a/configure.ac
+++ b/configure.ac
@@ -438,8 +438,10 @@ AS_IF([test "${SYS}" = "mingw32" -o "${SYS}" = "mingwce"], [
     AC_PREPROC_IFELSE([
 #include <_mingw.h>
 #if (__MINGW32_MAJOR_VERSION == 3) && (__MINGW32_MINOR_VERSION < 15)
+#ifndef __MINGW64_VERSION_MAJOR
 # error Attempting to use mingw-runtime with broken vsnprintf support
 #endif
+#endif
     ], [
         AC_MSG_RESULT([ok])
     ], [



More information about the vlc-commits mailing list