lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP_VERSION in lwIP 2.0.0


From: Dirk Ziegelmeier
Subject: Re: [lwip-users] LWIP_VERSION in lwIP 2.0.0
Date: Sun, 20 Nov 2016 21:02:02 +0100

LWIP_VERSION_RC has changed from 2 (RC2) to 255 (RELEASE)

So your macro should be OK. Is there something else that may be wrong?


Ciao
Dirk

--
Dirk Ziegelmeier * address@hidden * http://www.ziegelmeier.net

On Sun, Nov 20, 2016 at 3:19 PM, bernard <address@hidden> wrote:
Hi, 
I have just ported the lwIP 2.0.0 to RT-Thread RTOS. I need to keep multi-version of lwIP in other source files, therefore I should use LWIP_VERSION to tell the different version of lwIP. 

However, I found there is something wrong with LWIP_VERSION. For example, I can not use following code to tell the different version:
#if ( (LWIP_VERSION) < ((2U << 24) | (0U << 16) | (0U << 8) | (LWIP_VERSION_RC)) )
...
#endif

And the lwIP 2.0.0 RC2 version is OK. Any update? Thank you.




Best Regards, 
Bernard Xiong


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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