lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] RE: [lwip] question on /src/arch/unix/include/arch/cc.h


From: Manik, Raina (IE10)
Subject: [lwip-users] RE: [lwip] question on /src/arch/unix/include/arch/cc.h
Date: Thu, 09 Jan 2003 01:34:21 -0000

Well that's funny because /src/arch/unix/netif/
directory has some code which is specific to sun,
which has been stubbed out using 

#ifndef linux 
/* code */
#endif

Hence, we may have non GNU compilers on sun platforms
and hence it should be put in #ifdef i feel.


>  -----Original Message-----
>  From: Jani Monoses [mailto:address@hidden
>  Sent: Wednesday, September 25, 2002 5:20 PM
>  To: address@hidden
>  Subject: Re: [lwip] question on /src/arch/unix/include/arch/cc.h
>  
>  
>  the unix code in lwip assumes using gcc because it
>  was tested on bsd and linux.So probably unix is 
>  a misleading name.On another unix the demo would probably
>  fail for other reasons (lack of tun driver different
>  headers,libraries etc).
>  
>  > should'nt the above code be like
>  > 
>  > 
>  > #if        defined(GNU_C)
>  > /* rest of code above */
>  > #endif
>  > 
>  > or am i just braindead ?
>  > 
>  > thanks,
>  > Manik Raina
>  > [This message was sent through the lwip discussion list.]
>  [This message was sent through the lwip discussion list.]
>  
[This message was sent through the lwip discussion list.]




reply via email to

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