Change version display.

This commit is contained in:
David Anderson
2014-05-25 03:18:05 -07:00
parent ed9ca9e943
commit 3c7a08afc2
5 changed files with 13 additions and 7 deletions
+2 -1
View File
@@ -29,6 +29,7 @@
#include <sourcemod_version.h>
#include <versionlib.h>
const char *SOURCEMOD_BUILD_ID = SM_BUILD_UNIQUEID;
const char *SOURCEMOD_LOCAL_REV = SM_BUILD_LOCAL_REV;
const char *SOURCEMOD_SHA = SM_BUILD_CSET;
const char *SOURCEMOD_VERSION = SM_VERSION_STRING;
const char *SOURCEMOD_BUILD_TIME = __DATE__ " " __TIME__;
+4 -2
View File
@@ -32,7 +32,8 @@
#if !defined(SM_USE_VERSIONLIB)
// These get defined in sourcemod_version.h since
// versionlib does not use versionlib.
# undef SOURCEMOD_BUILD_ID
# undef SOURCEMOD_LOCAL_REV
# undef SOURCEMOD_CSET
# undef SOURCEMOD_VERSION
# undef SOURCEMOD_BUILD_TIME
#endif
@@ -42,7 +43,8 @@
#else
# define EXTERN_C extern
#endif
EXTERN_C const char *SOURCEMOD_BUILD_ID;
EXTERN_C const char *SOURCEMOD_LOCAL_REV;
EXTERN_C const char *SOURCEMOD_SHA;
EXTERN_C const char *SOURCEMOD_VERSION;
EXTERN_C const char *SOURCEMOD_BUILD_TIME;