avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-libc-dev] New include sys/types?


From: Weddington, Eric
Subject: RE: [avr-libc-dev] New include sys/types?
Date: Wed, 4 Jun 2008 08:01:47 -0600

 

> -----Original Message-----
> From: address@hidden [mailto:address@hidden 
> Sent: Wednesday, June 04, 2008 7:59 AM
> To: Weddington, Eric; address@hidden
> Cc: address@hidden
> 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...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]