1 #define MAJOR_VERSION 1 2 #define MINOR_VERSION 2 3 #define BUILD_VERSION 0 4 #define BUILD_REVISION 2431 5 6 #define STRINGIFY(x) #x 7 #define MACRO_STRINGIFY(x) STRINGIFY(x) 8 9 #define REVISION_STRING MACRO_STRINGIFY(BUILD_REVISION) 10 #define VERSION_STRING MACRO_STRINGIFY(MAJOR_VERSION) "." MACRO_STRINGIFY(MINOR_VERSION) "." MACRO_STRINGIFY(BUILD_VERSION) "." MACRO_STRINGIFY(BUILD_REVISION) 11 12 #define VERSION_DWORD ((MAJOR_VERSION << 24) | (MINOR_VERSION << 16) | BUILD_REVISION) 13