[vlc-devel] [vlc-commits] Win32: force 0x601 for _WIN32_WINNT

Steve Lhomme robux4 at gmail.com
Mon Dec 4 09:03:02 CET 2017


This is a problem when the environment sets the value, it will be
hardcoded to a (lower) value in all files.

On Mon, Dec 4, 2017 at 12:17 AM, Jean-Baptiste Kempf <git at videolan.org> wrote:
> vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec  4 00:17:13 2017 +0100| [e807c8e91a469f40429344e51b910b7cde59df1f] | committer: Jean-Baptiste Kempf
>
> Win32: force 0x601 for _WIN32_WINNT
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e807c8e91a469f40429344e51b910b7cde59df1f
> ---
>
>  configure.ac | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configure.ac b/configure.ac
> index 7de1b94aca..6e512d8839 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -220,6 +220,7 @@ case "${host_os}" in
>      AH_TOP([#if defined(_WIN32) && !defined(_WIN32_WINNT)])
>      AH_TOP([# define _WIN32_WINNT 0x0601 /* Windows 7 */])
>      AH_TOP([#endif])
> +    AC_DEFINE([_WIN32_WINNT], 0x0601, [Define to '0x0601' for Windows 7 APIs.])
>      AC_DEFINE([_WIN32_IE], 0x0600, [Define to '0x0600' for IE 6.0 (and shell) APIs.])
>      AC_DEFINE([_UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])
>      AC_DEFINE([UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits


More information about the vlc-devel mailing list