On Wed, Mar 23, 2016 at 01:07:27PM +0000, Frediano Ziglio wrote:
> Enable additional checks for this macro.
> 
> Signed-off-by: Frediano Ziglio <[email protected]>
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index f5445c0..c1b1b3a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -82,7 +82,7 @@ dnl 
> =========================================================================
>  dnl Check deps
>  
>  AC_CONFIG_SUBDIRS([spice-common])
> -COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ -I 
> ${top_builddir}/spice-common/'
> +COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ -I 
> ${top_builddir}/spice-common/ -DSPICE_USE_SAFER_CONTAINEROF'

If you change configure.ac, I'd prefer that this goes to config.h
through AC_DEFINE() rather than being hardcoded there.

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to