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

Rafaël Carré funman at videolan.org
Sat Aug 18 12:20:25 CEST 2012


Hello,

Le 2012-08-18 11:58, Varphone Wong a écrit :
> ---
>  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

Current code does not work? (in contrib/src/main.mak)



More information about the vlc-devel mailing list