[Toybox] _GNU_SOURCE definition problem
Rob Landley
rob at landley.net
Fri Mar 9 09:47:37 PST 2012
On 03/09/2012 08:14 AM, Georgi Chorbadzhiyski wrote:
> Removing _GNU_SOURCE breaks toys/unshare compilation.
Building under what?
In /usr/include/features.h:
#if defined _BSD_SOURCE || defined _SVID_SOURCE
# define __USE_MISC 1
#endif
sched.h includes bits/sched.h, and in /usr/include/bits/sched.h the
CLONE_NEW* defines are all in #ifdef __USE_MISC
So... works for me? (Just did a test build...)
Rob
More information about the Toybox
mailing list