Go to the documentation of this file. 56 #ifndef LWIP_HDR_INIT_H 57 #define LWIP_HDR_INIT_H 72 #define LWIP_VERSION_MAJOR 2 74 #define LWIP_VERSION_MINOR 0 76 #define LWIP_VERSION_REVISION 2 80 #define LWIP_VERSION_RC LWIP_RC_RELEASE 83 #define LWIP_RC_RELEASE 255 85 #define LWIP_RC_DEVELOPMENT 0 87 #define LWIP_VERSION_IS_RELEASE (LWIP_VERSION_RC == LWIP_RC_RELEASE) 88 #define LWIP_VERSION_IS_DEVELOPMENT (LWIP_VERSION_RC == LWIP_RC_DEVELOPMENT) 89 #define LWIP_VERSION_IS_RC ((LWIP_VERSION_RC != LWIP_RC_RELEASE) && (LWIP_VERSION_RC != LWIP_RC_DEVELOPMENT)) 92 #define LWIP_VERSTR2(x) #x 93 #define LWIP_VERSTR(x) LWIP_VERSTR2(x) 94 #if LWIP_VERSION_IS_RELEASE 95 #define LWIP_VERSION_STRING_SUFFIX "" 96 #elif LWIP_VERSION_IS_DEVELOPMENT 97 #define LWIP_VERSION_STRING_SUFFIX "d" 99 #define LWIP_VERSION_STRING_SUFFIX "rc" LWIP_VERSTR(LWIP_VERSION_RC) 103 #define LWIP_VERSION (((u32_t)LWIP_VERSION_MAJOR) << 24 | ((u32_t)LWIP_VERSION_MINOR) << 16 | \ 104 ((u32_t)LWIP_VERSION_REVISION) << 8 | ((u32_t)LWIP_VERSION_RC)) 106 #define LWIP_VERSION_STRING LWIP_VERSTR(LWIP_VERSION_MAJOR) "." LWIP_VERSTR(LWIP_VERSION_MINOR) "." LWIP_VERSTR(LWIP_VERSION_REVISION) LWIP_VERSION_STRING_SUFFIX