Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] multiple inclusion protection with eclasses
Date: Fri, 09 Dec 2011 17:03:33
Message-Id: 201112091202.37473.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] multiple inclusion protection with eclasses by "Michał Górny"
On Thursday 08 December 2011 23:40:12 Michał Górny wrote:
> On Thu, 8 Dec 2011 17:24:09 -0500 Mike Frysinger wrote: > > simply put, it's the same thing as doing standard #ifdef logic in > > headers to protect against multiple inclusion errors. on to the > > example: > > > > +___ECLASS_ONCE_AUTOTOOLS="recur -_+^+_- spank" > > If you want alike CPP, why don't you name it: > _AUTOTOOLS_ECLASS=1
that's not my preferred CPP naming style :p -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] multiple inclusion protection with eclasses Alec Warner <antarus@g.o>