Re: [PATCH] Fix macro for checking spice version numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ack

----- Mail original -----
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> As it is for now, the micro number is never checked.
> ---
>  gtk/spice-version.h.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gtk/spice-version.h.in b/gtk/spice-version.h.in
> index fbef265..4276a23 100644
> --- a/gtk/spice-version.h.in
> +++ b/gtk/spice-version.h.in
> @@ -62,7 +62,7 @@
>   */
>  #define SPICE_GTK_CHECK_VERSION(major, minor, micro)                    \
>          (SPICE_GTK_MAJOR_VERSION > (major) ||                           \
> -         (SPICE_GTK_MAJOR_VERSION == (major) && SPICE_GTK_MINOR_VERSION >=
> (minor)) || \
> +         (SPICE_GTK_MAJOR_VERSION == (major) && SPICE_GTK_MINOR_VERSION >
> (minor)) || \
>           (SPICE_GTK_MAJOR_VERSION == (major) && SPICE_GTK_MINOR_VERSION ==
>           (minor) && \
>            SPICE_GTK_MICRO_VERSION >= (micro)))
>  
> --
> 2.1.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]