[Spice-devel] [PATCH xf86-video-qxl] Adjust xspice_wakeup_handler() prototype for building xspice with server 1.19

Christophe Fergeau cfergeau at redhat.com
Mon Oct 3 10:04:27 UTC 2016



On Thu, Sep 29, 2016 at 01:03:01PM +0200, Hans de Goede wrote:
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
>  src/spiceqxl_main_loop.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/spiceqxl_main_loop.c b/src/spiceqxl_main_loop.c
> index db89b6d..0ac1f3e 100644
> --- a/src/spiceqxl_main_loop.c
> +++ b/src/spiceqxl_main_loop.c
> @@ -330,7 +330,11 @@ static int no_write_watches(Ring *w)
>      return 1;
>  }
>  
> +#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0)

We have an occurrence of
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
I'd use this here too to stay consistent (I assume they are equivalent
here).

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20161003/ccd28ff3/attachment.sig>


More information about the Spice-devel mailing list