*renamed a macro.

This commit is contained in:
Wang Renxin 2017-03-27 17:21:10 +08:00
parent 43f8408c4b
commit 21a14d0653

View File

@ -101,12 +101,12 @@ extern "C" {
#define _VER_REVISION 0 #define _VER_REVISION 0
#define _VER_SUFFIX #define _VER_SUFFIX
#define _MB_VERSION ((_VER_MAJOR * 0x01000000) + (_VER_MINOR * 0x00010000) + (_VER_REVISION)) #define _MB_VERSION ((_VER_MAJOR * 0x01000000) + (_VER_MINOR * 0x00010000) + (_VER_REVISION))
#define _STRINGIZE(A) _MAKE_STRINGIZE(A) #define _MB_STRINGIZE(A) _MB_MAKE_STRINGIZE(A)
#define _MAKE_STRINGIZE(A) #A #define _MB_MAKE_STRINGIZE(A) #A
#if _VER_REVISION == 0 #if _VER_REVISION == 0
# define _MB_VERSION_STRING _STRINGIZE(_VER_MAJOR._VER_MINOR _VER_SUFFIX) # define _MB_VERSION_STRING _MB_STRINGIZE(_VER_MAJOR._VER_MINOR _VER_SUFFIX)
#else /* _VER_REVISION == 0 */ #else /* _VER_REVISION == 0 */
# define _MB_VERSION_STRING _STRINGIZE(_VER_MAJOR._VER_MINOR._VER_REVISION _VER_SUFFIX) # define _MB_VERSION_STRING _MB_STRINGIZE(_VER_MAJOR._VER_MINOR._VER_REVISION _VER_SUFFIX)
#endif /* _VER_REVISION == 0 */ #endif /* _VER_REVISION == 0 */
/* Define as 1 to create hash table nodes lazily, 0 obligingly */ /* Define as 1 to create hash table nodes lazily, 0 obligingly */