[Buildroot] __USE_GNU ?

Mike Frysinger vapier at gentoo.org
Thu Mar 3 09:40:43 UTC 2011

On Thursday, March 03, 2011 04:19:44 Guillaume Dargaud wrote:
> A quick googling tell me it's an internal macro to uclibc, so why is it not
> on ? How do I get those two macros ?

you need to define _GNU_SOURCE before including any C library header files.  
this is by design, and is not specific to uClibc.  please read the  
feature_test_macros(7) man page.

also, this has nothing to do with buildroot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110303/eb48a8e6/attachment-0002.asc>

More information about the buildroot mailing list