[CRIU] Re: [PATCH] zdtm: shm test update

Cyrill Gorcunov gorcunov at openvz.org
Mon Feb 6 09:27:16 EST 2012


On Mon, Feb 06, 2012 at 06:20:37PM +0400, Kinsbursky Stanislav wrote:
...
> >>
> >>-int main(int argc, char **argv)
> >>+#if defined (__GLIBC__)&&  __GLIBC__>= 2
> >>+#define KEY __key
> >>+#else
> >>+#define KEY key
> >>+#endif
> >What is it ^^^?
> 

Btw, Stas, iirc you've had the similar line in crtools code
so I thought -- maybe it should be somewhere in compiler.h
instead (yup, it's not that much bound to compiler itself but
having such tricks in a separate file always a bonus).

	Cyrill


More information about the CRIU mailing list