diff -r 8cddb57489a7 -r b9e101b76eb3 src/common.h --- a/src/common.h Sun May 19 14:34:15 2013 +0300 +++ b/src/common.h Sun May 19 15:36:01 2013 +0300 @@ -57,11 +57,9 @@ void doDevf (const char* func, const char* fmtstr, ...); // Version string identifier -#if VERSION_PATCH > 0 -static const str versionString = fmt ("%d.%d.%d", VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH); -#else -static const str versionString = fmt ("%d.%d", VERSION_MAJOR, VERSION_MINOR); -#endif // VERSION_PATCH +str versionString (); +const char* versionMoniker (); +str fullVersionString (); #ifdef __GNUC__ # define FORMAT_PRINTF(M,N) __attribute__ ((format (printf, M, N)))