[Slirp] [PATCH] src/slirp.h: Bump the minimum Windows version to Windows 7

Samuel Thibault samuel.thibault at ens-lyon.org
Mon May 16 23:00:37 UTC 2022


Thomas Huth, le lun. 16 mai 2022 11:04:10 +0200, a ecrit:
> Windows Vista is not supported by its vendor anymore. Additionally,
> glib uses 0x0601 as setting for _WIN32_WINNT since version 2.53.6
> already, so unless libslirp is used with a very old version of glib,
> we are depending on Windows 7 anyway.

Applied, thanks!

>
> Signed-off-by: Thomas Huth <thuth at redhat.com>
> ---
>  src/slirp.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/slirp.h b/src/slirp.h
> index a61ea15..d803207 100644
> --- a/src/slirp.h
> +++ b/src/slirp.h
> @@ -6,7 +6,7 @@
>
>  /* as defined in sdkddkver.h */
>  #ifndef _WIN32_WINNT
> -#define _WIN32_WINNT 0x0600 /* Vista */
> +#define _WIN32_WINNT 0x0601 /* Windows 7 */
>  #endif
>  /* reduces the number of implicitly included headers */
>  #ifndef WIN32_LEAN_AND_MEAN
> --
> 2.27.0
>

--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.


More information about the Slirp mailing list