Change version display.
This commit is contained in:
@@ -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__;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user