[vlc-devel] [PATCH] configure: really don't override _WIN32_WINNT if it's set

Steve Lhomme robux4 at ycbcr.xyz
Mon Mar 4 16:27:47 CET 2019


Mh, just as I read it, it should be the other way around.

I think it doesn't work for me because I'm not using CPPFLAGS, only 
CFLAGS and CXXFLAGS

On 3/4/2019 4:20 PM, Steve Lhomme wrote:
> The AC_PREPROC_IFELSE was missing a part
> ---
>   configure.ac | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 15b2fd4e3d..2460655802 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -229,6 +229,8 @@ case "${host_os}" in
>          # error _WIN32_WINNT already defined
>          #endif
>         ]],[[;]])
> +    ],[
> +      AC_MSG_WARN([Not overriding _WIN32_WINNT])
>       ],[
>         AC_DEFINE([_WIN32_WINNT], 0x0601, [Define to '0x0601' for Windows 7 APIs.])
>       ])
> -- 
> 2.17.1
>
> _______________________________________________
> 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