> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 04, 2008 7:59 AM
> To: Weddington, Eric; avr-libc-dev@nongnu.org
> Cc: [EMAIL PROTECTED]
> Subject: Re: [avr-libc-dev] New include sys/types?
> 
> I may have workaround for the test that is used elsewhere.
> 
> It is used to prevent recursive definitions of ??printf variants for 
> UCLIBC targets.
> It picks up _UCLIBC via features.h which is included in  sys/types.
> So I can fix with.....
> 
> #ifdef _UNIX_
> #include sys/types.h
> #endif
> .
> .
> .
> #if def _UCLIB_
> ......
> #endif
> 
> But of course this only works for this test and will come up again if 
> somebody included it again in the future.

Sure. Perhaps Janis has an idea, too, on how this can be worked
around...


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to