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 * d...@ziegelmeier.net * http://www.ziegelmeier.net On Sun, Nov 20, 2016 at 3:19 PM, bernard <bernard.xi...@gmail.com> 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 > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users