00001 00050 #ifndef VERSION_H 00051 #define VERSION_H 00052 00054 #define VERSIONID "$Id: version.h 66 2009-10-21 12:48:49Z laleppa $" 00056 #define BUILD_VERSION_MAJOR 0 00058 #define BUILD_VERSION_MINOR 1 00060 #define BUILD_RELEASE 2 00061 00073 #define BUILD_NUMBER 65535 00074 00081 #if BUILD_NUMBER == 65535 00082 #define BUILD_STATUS (dev build) 00083 #elif BUILD_RELEASE < 4 00084 #define BUILD_STATUS (alpha) 00085 #elif BUILD_RELEASE < 8 00086 #define BUILD_STATUS (beta) 00087 #elif BUILD_RELEASE < 11 00088 #define BUILD_STATUS (rc) 00089 #endif // BUILD_NUMBER == 65535 00090 00092 #define QUOTE_X(x) #x 00094 #define QUOTE(x) QUOTE_X(x) 00095 00100 #ifndef BUILD_STATUS 00101 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE) 00102 #else 00103 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS) 00104 #endif 00105 00106 #endif // VERSION_H