[vlc-devel] [PATCH] [RFC] configure: force WINNT_VERSION to 0x601 through -D
Steve Lhomme
robux4 at gmail.com
Thu Nov 30 08:58:33 CET 2017
On Thu, Nov 30, 2017 at 3:06 AM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> What I don't get is why this is necessary, since it's already defined in
> AH_TOP.
It's added to the config.h but it's not used during configure so you
still configure for a different set of APIs.
> But else, it does not work for pollfd and inet_pton detection
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index c7360021f4..bb679caad2 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -536,7 +536,7 @@ dnl Check for broken versions of mingw-runtime compatability library
> ])
>
> dnl force use of mingw provided c99 *printf over msvcrt
> - CPPFLAGS="${CPPFLAGS} -D__USE_MINGW_ANSI_STDIO=1"
> + CPPFLAGS="${CPPFLAGS} -D__USE_MINGW_ANSI_STDIO=1 -D_WIN32_WINNT=0x601"
>
> dnl Check for the need to include the mingwex lib for mingw32
> VLC_SAVE_FLAGS
> --
> 2.15.0.531.g2ccb3012c9
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list