On Tue, Jan 25, 2011 at 07:17:24PM +0100, Marc-André Lureau wrote: > diff --git a/common/ring.h b/common/ring.h > index dcd3fbf..cdfe7e1 100644 > --- a/common/ring.h > +++ b/common/ring.h > @@ -21,6 +21,11 @@ > > #include <stddef.h> > > +#ifndef ASSERT > +# include <assert.h> > +# define ASSERT(X) assert(X) > +#endif > +
ring.h now includes spice_common.h which contains an ASSERT definition. I just realized that for some reason, it's reimplementing assert() by hand, not sure why. Christophe
pgpbqkmTXVJzb.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
