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:
Lance 2011-04-01 12:55:38 +00:00
parent 323e267ba4
commit b4bd2cc64c

View file

@ -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));