[LTP] [PATCH V3 14/23] shmat1: Cover GNU specific code under __USE_GNU

Khem Raj raj.khem@gmail.com
Wed Jul 27 17:20:42 CEST 2016


> On Jul 27, 2016, at 7:17 AM, Cyril Hrubis <chrubis@suse.cz> wrote:
> 
> Hi!
>> +#if defined(__i386__) && defined(__USE_GNU)
> 
> Hmm, shouldn't this rather be defined(__GLIBC__) ?
> 
> As far as I can tell __USE_GNU is enabled if _GNU_SOURCE is defined
> while __GLIBC__ is defined in glibc unconditionally.

Probably, yes

> 
> --
> Cyril Hrubis
> chrubis@suse.cz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.linux.it/pipermail/ltp/attachments/20160727/30dae79a/attachment.sig>


More information about the ltp mailing list