Hello Martin,

The patch is ok.  Please go ahead and apply.

JonY, Adrien do we have on web-server documentation about our special
configure options?  I think it might be time to create such a
page/document.  What do you think?

Thanks,
Kai


2017-11-03 10:06 GMT+01:00 Martin Storsjö <[email protected]>:
> Signed-off-by: Martin Storsjö <[email protected]>
> ---
>  mingw-w64-headers/configure.ac    | 10 ++++++++++
>  mingw-w64-headers/crt/_mingw.h.in |  2 +-
>  2 files changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/mingw-w64-headers/configure.ac b/mingw-w64-headers/configure.ac
> index 84109c9..21259d3 100644
> --- a/mingw-w64-headers/configure.ac
> +++ b/mingw-w64-headers/configure.ac
> @@ -152,6 +152,16 @@ AS_VAR_IF([enable_secure_api],[yes],
>    [MINGW_HAS_SECURE_API=""])
>  AC_SUBST([MINGW_HAS_SECURE_API])
>
> +AC_MSG_CHECKING([default _WIN32_WINNT version])
> +AC_ARG_WITH([default-win32-winnt],
> +  [AS_HELP_STRING([--with-default-win32-winnt=VER],
> +    [Default value of _WIN32_WINNT (default: 0x502)])],
> +  [],
> +  [with_default_win32_winnt=0x502])
> +AC_MSG_RESULT([$with_default_win32_winnt])
> +AS_VAR_SET([DEFAULT_WIN32_WINNT],[$with_default_win32_winnt])
> +AC_SUBST([DEFAULT_WIN32_WINNT])
> +
>  # Checks for typedefs, structures, and compiler characteristics.
>
>  # Checks for library functions.
> diff --git a/mingw-w64-headers/crt/_mingw.h.in 
> b/mingw-w64-headers/crt/_mingw.h.in
> index 99373b8..c5f3bf8 100644
> --- a/mingw-w64-headers/crt/_mingw.h.in
> +++ b/mingw-w64-headers/crt/_mingw.h.in
> @@ -222,7 +222,7 @@ limitations in handling dllimport attribute.  */
>
>
>  #ifndef _WIN32_WINNT
> -#define _WIN32_WINNT 0x502
> +#define _WIN32_WINNT @DEFAULT_WIN32_WINNT@
>  #endif
>
>  #ifndef _INT128_DEFINED
> --
> 2.7.4
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to