#define ACTIVEGSMAJOR $MAJORVER$ #define ACTIVEGSMINOR $MINORVER$ #ifdef KEGS_BETAVERSION #define ACTIVEGSSTATE " BETA" #else #define ACTIVEGSSTATE "" #endif #define ACTIVEGSBUILD $WCREV$ #define ACTIVEGSDATE "$WCNOW$" #define STRINGIFY(x) #x #define TOSTRING(x) STRINGIFY(x) #if defined(_DEBUG)|| defined(_GLIBCXX_DEBUG) #define ACTIVEGSRELEASE " [Debug]" #else #define ACTIVEGSRELEASE #endif #if defined(_WIN32) #if defined(XP_WIN32) #define ACTIVEGSAPP "Win32/Plugin" #elif defined(_USRDLL) #define ACTIVEGSAPP "Win32/ActiveX" #else #define ACTIVEGSAPP "Win32" #endif #elif defined(ACTIVEGS_ANDROID) #define ACTIVEGSAPP "Android" #elif defined(ACTIVEIPHONE) # define ACTIVEGSAPP "iPhone" #else // MAC # if defined(ACTIVEGSPLUGIN) #define ACTIVEGSAPP "MacOSX/Plugin" #else #define ACTIVEGSAPP "MacOSX" # endif #endif #ifdef __LP64__ #define ACTIVEGSARCHI " (64BITS)" #else #define ACTIVEGSARCHI #endif #define ACTIVEGSBUILDSTR TOSTRING(ACTIVEGSMAJOR) "." TOSTRING(ACTIVEGSMINOR) "." TOSTRING(ACTIVEGSBUILD) ACTIVEGSRELEASE #define ACTIVEGSVERSIONSTR "ActiveGS v" TOSTRING(ACTIVEGSMAJOR) "." TOSTRING(ACTIVEGSMINOR) "." TOSTRING(ACTIVEGSBUILD) ACTIVEGSRELEASE ACTIVEGSSTATE #define ACTIVEGSVERSIONSTRFULL "ActiveGS " ACTIVEGSAPP " v" TOSTRING(ACTIVEGSMAJOR) "." TOSTRING(ACTIVEGSMINOR) "." TOSTRING(ACTIVEGSBUILD) ACTIVEGSRELEASE ACTIVEGSSTATE ACTIVEGSARCHI