[vlc-devel] [PATCH 2/2] contrib: add the HAVE_MINGW_W64 condition detection to bootstrap

Varphone Wong varphone at gmail.com
Sat Aug 18 11:58:02 CEST 2012


---
 contrib/bootstrap | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 631ac57..7513bd6 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -239,6 +239,8 @@ case "${OS}" in
 		;;
 	*mingw*)
 		add_make_enabled "HAVE_WIN32"
+		MINGW64_VERSION_MAJOR=`${HOST}-gcc -E -dM -include _mingw.h - < /dev/null | grep '#define __MINGW64_VERSION_MAJOR'`
+		test -z "${MINGW64_VERSION_MAJOR}" || add_make_enabled "HAVE_MINGW_W64"
 		;;
 esac
 
-- 
1.7.11.2




More information about the vlc-devel mailing list