TimeServ's SVNREVISION macro fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3769 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
323e267ba4
commit
b4bd2cc64c
1 changed files with 1 additions and 1 deletions
|
@ -4332,7 +4332,7 @@ char *version_string(void)
|
|||
{
|
||||
#ifdef OFFICIAL_RELEASE
|
||||
Q_snprintfz(s, sizeof(s), "%s v%i.%02i", DISTRIBUTION, FTE_VER_MAJOR, FTE_VER_MINOR);
|
||||
#elif SVNREVISION
|
||||
#elif defined(SVNREVISION)
|
||||
#define STRINGIFY2(arg) #arg
|
||||
#define STRINGIFY(arg) STRINGIFY2(arg)
|
||||
Q_snprintfz(s, sizeof(s), "%s SVN %s", DISTRIBUTION, STRINGIFY(SVNREVISION));
|
||||
|
|
Loading…
Reference in a new issue