From: Samuel Thibault Subject: Re: Pesky '#define current' in mini-os/sched.h Date: Mon, 27 Apr 2009 23:11:54 +0200 Message-ID: <20090427211153.GS5965@const.famille.thibault.fr> References: <873abt51e5.fsf@tac.ki.iif.hu> <20090427200345.GM5965@const.famille.thibault.fr> <87ocuh3kjd.fsf@tac.ki.iif.hu> <20090427203544.GQ5965@const.famille.thibault.fr> <87k5553jt1.fsf@tac.ki.iif.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <87k5553jt1.fsf@tac.ki.iif.hu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ferenc Wagner Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org Ferenc Wagner, le Mon 27 Apr 2009 22:47:54 +0200, a =E9crit : > Samuel Thibault writes: >=20 > > Ferenc Wagner, le Mon 27 Apr 2009 22:32:06 +0200, a =E9crit : > >> Samuel Thibault writes: > >>=20 > >>> Keir Fraser, le Mon 27 Apr 2009 20:50:18 +0100, a =E9crit : > >>> > >>>> The simplest fix would be to wrap the '#define current' in a '#ifd= ef > >>>> __MINIOS__' region. > >>> > >>> There actually already is such wrapper. > >>=20 > >> Where? Not in mini-os/sched.h. > > > > Are we perhaps looking at different trees? I can see > > > > #ifdef __INSIDE_MINIOS__ >=20 > I'm working with xen-3.3.1, which is the latest stable, as far as I > know. Maybe it's already fixed in your development version. Ok, yes it is. Samuel