[LTP] [PATCH v1] rt_tgsigqueueinfo01.c: replace definition ANDROID with __ANDROID__

Sandeep Patil sspatil@android.com
Fri Apr 12 21:49:21 CEST 2019


On Fri, Apr 12, 2019 at 11:36:46PM +0800, 阮正旺 wrote:
> Hi Petr, Sandeep, Steve,
> 
> 
> -------- Original Message --------
> From: Petr Vorel
> Sent: Thu, 11 Apr 2019 19:46:38 +0200
> To: Zhengwang Ruan, Steve Muckle, Sandeep Patil
> Cc: Ltp
> Subject: Re: [LTP] [PATCH v1] rt_tgsigqueueinfo01.c: replace definition
> ANDROID with __ANDROID__
> > Hi,
> > 
> > > Replace the incorrect definition of ANDROID with __ANDROID__.
> > > +++ b/testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c
> > > @@ -25,7 +25,7 @@
> > >   #include "tst_test.h"
> > >   #include "lapi/syscalls.h"
> > > -#ifndef ANDROID
> > > +#ifndef __ANDROID__
> > Simple grep in AOSP tree would be for this change (and I'd personally prefer it as well)
> > I'd kindly ask android devs which one is correct :). BTW ANDROID was added by Steve.
> 
> According to also [1], this patch is acceptable, right?

Yes, indeed.

Acked-by: Sandeep Patil <sspatil@android.com>


More information about the ltp mailing list