[LEDE-DEV] [PATCH] _GNU_SOURCE should be defined for building vs uClibc
Waldemar Brodkorb
wbx at openadk.org
Mon May 23 11:12:59 PDT 2016
Hi John,
John Crispin wrote,
> Hi,
> is it really a gnu extension or is uclibc b0rked for these symbols ?
I think it isn't b0rked.
It was added for ARM GNU libc here under #ifdef __USE_GNU:
https://sourceware.org/git/?p=glibc.git;a=blobdiff;f=sysdeps/unix/sysv/linux/arm/bits/fcntl.h;h=aa2d36ca80f0ca4c5793b28b3852ce60b5fe57ef;hp=6a5f89ad1f8bdf8a825fc1e55a84679a86349a6c;hb=adb252daea96e7e160553703d477b76ff6a7781e;hpb=01b5049d107460f5eca797eda983958d1a410ffd
And later moved to generic fcntl.h file. So we are correct here or
at least compatible to GNU libc.
best regards
Waldemar
More information about the Lede-dev
mailing list