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

Cyril Hrubis chrubis@suse.cz
Wed Jul 27 16:17:25 CEST 2016


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.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list