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

Re: [Xen-devel] [PATCH] libxc, libxenstore: make the headers C++-friendly

On Tue, 2013-01-22 at 17:21 +0000, Razvan Cojocaru wrote:
> > Not exactly - with all of this being macros, the _consumer_ of
> > DEFINE_RING_TYPES() could define private to rprivate (or
> > whatever is being liked best), with the respective uses of the
> > other macros using that field suitably placed inside the scope
> > of that #define.
> All I have to do is #include <mem_event.h> and I get this build error 
> (with g++):

What about if you do
#define private pprivate
#include <mem_event.h>

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.