On Sat Dec 16, 2006 at 01:42:11PM -0500, Mike Frysinger wrote:On 11/30/06, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:but there are a few otheruserspace should be worrying about userspace, so having the socket.h
cases which still contain compound preprocessor directives such as:
#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
having never worked with unifdef before, i guess i was being overly
optimistic in thinking that it, if i "unifdef"ed __KERNEL__, it might
at least simplify the expression. oh, well ... live and learn.
and stat.h pollute the namespace in the non-glibc case is wrong and
pretty much prevents any other libc from utilizing these headers
sanely unless they set up the __GLIBC__ define themselves (which
sucks)
-mike
Ack from me. I'd love to see this applied so uClibc could
stop have to define __GLIBC__