[Spice-devel] [PATCH] build-sys: use safer SPICE_CONTAINEROF version
Frediano Ziglio
fziglio at redhat.com
Wed Mar 2 12:18:41 UTC 2016
Enable additional checks for this macro.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
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'
AC_SUBST(COMMON_CFLAGS)
AC_CHECK_LIBM
--
2.5.0
More information about the Spice-devel
mailing list