00001 00050 #ifndef VERSION_H 00051 #define VERSION_H 00052 00054 #define VERSIONID "$Id: version.h 71 2009-12-07 16:06:44Z laleppa $" 00056 #define BUILD_VERSION_MAJOR 0 00058 #define BUILD_VERSION_MINOR 1 00059 00068 #define BUILD_RELEASE 2 00069 00075 #define BUILD_NUMBER 65535 00076 00083 #if BUILD_NUMBER == 65535 00084 #define BUILD_STATUS (dev build) 00085 #else 00086 #if BUILD_RELEASE < 4 00087 #define BUILD_STATUS (alpha) 00088 #elif BUILD_RELEASE < 8 00089 #define BUILD_STATUS (beta) 00090 #elif BUILD_RELEASE < 11 00091 #define BUILD_STATUS (rc) 00092 #else 00093 #define BUILD_STATUS 00094 #endif 00095 #endif // BUILD_NUMBER == 65535 00096 00098 #define QUOTE_X(x) #x 00100 #define QUOTE(x) QUOTE_X(x) 00101 00106 #ifndef BUILD_STATUS 00107 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE) 00108 #else 00109 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS) 00110 #endif 00111 00112 #endif // VERSION_H