[Spice-devel] [PATCH 6/6] LZ4: Include winsock.h when compiling for Windows

Christophe Fergeau cfergeau at redhat.com
Fri Jan 30 02:31:53 PST 2015


Hey,

On Wed, Jan 28, 2015 at 11:49:49AM +0100, Javier Celaya wrote:
> ---
>  common/canvas_base.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/common/canvas_base.c b/common/canvas_base.c
> index fb35c4a..5867f3e 100644
> --- a/common/canvas_base.c
> +++ b/common/canvas_base.c
> @@ -27,7 +27,11 @@
>  #include <math.h>
>  
>  #ifdef USE_LZ4
> +#ifdef _WIN32

This one should be WIN32 for consistency with the rest of the code
(changed locally).

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150130/d9231be0/attachment.sig>


More information about the Spice-devel mailing list