mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 21:14:09 +00:00
Make LWIP_VERSION work with the preprocessor again.
This commit is contained in:
parent
51369854b5
commit
30ddfe1a98
@ -81,8 +81,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/** Provides the version of the stack */
|
||||
#define LWIP_VERSION (((u32_t)LWIP_VERSION_MAJOR) << 24 | ((u32_t)LWIP_VERSION_MINOR) << 16 | \
|
||||
((u32_t)LWIP_VERSION_REVISION) << 8 | ((u32_t)LWIP_VERSION_RC))
|
||||
#define LWIP_VERSION ((LWIP_VERSION_MAJOR) << 24 | (LWIP_VERSION_MINOR) << 16 | \
|
||||
(LWIP_VERSION_REVISION) << 8 | (LWIP_VERSION_RC))
|
||||
/** Provides the version of the stack as string */
|
||||
#define LWIP_VERSION_STRING LWIP_VERSTR(LWIP_VERSION_MAJOR) "." LWIP_VERSTR(LWIP_VERSION_MINOR) "." LWIP_VERSTR(LWIP_VERSION_REVISION) LWIP_VERSION_STRING_SUFFIX
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user