[Spice-devel] [PATCH] build-sys: use safer SPICE_CONTAINEROF version
Christophe Fergeau
cfergeau at redhat.com
Wed Mar 23 13:41:40 UTC 2016
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
On Wed, Mar 23, 2016 at 01:37:49PM +0000, Frediano Ziglio wrote:
> Enable additional checks for this macro.
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> configure.ac | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index f5445c0..9541b59 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -212,6 +212,8 @@ AC_CACHE_CHECK([if -Wl,--version-script works], [spice_cv_ld_version_script],
> AM_CONDITIONAL([HAVE_LD_VERSION_SCRIPT],
> [test x"$spice_cv_ld_version_script" = xyes])
>
> +AC_DEFINE([SPICE_USE_SAFER_CONTAINEROF], [1], [Enable more type safe version of SPICE_CONTAINEROF])
> +
> AC_SUBST(SPICE_REQUIRES)
> AC_SUBST(SPICE_NONPKGCONFIG_CFLAGS)
> AC_SUBST(SPICE_NONPKGCONFIG_LIBS)
> --
> 2.5.5
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160323/3ad368e4/attachment.sig>
More information about the Spice-devel
mailing list