[Spice-devel] [PATCH] common: fix build with mingw

Marc-André Lureau mlureau at redhat.com
Tue Jan 6 09:07:08 PST 2015



----- Original Message -----
> Building spice-common is breaking with mingw: http://fpaste.org/166365/
> This patch fixes it

Yes mingw should ship those files, no good reasons to have the check there.
ack

> ---
>  common/ssl_verify.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/ssl_verify.h b/common/ssl_verify.h
> index bfbd8a4..e4a0406 100644
> --- a/common/ssl_verify.h
> +++ b/common/ssl_verify.h
> @@ -19,7 +19,7 @@
>  #ifndef SSL_VERIFY_H
>  #define SSL_VERIFY_H
>  
> -#if defined(WIN32) && !defined(__MINGW32__)
> +#if defined(WIN32)
>  #include <windows.h>
>  #include <wincrypt.h>
>  #endif
> --
> 2.1.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list