mirror of
https://github.com/accelerator74/l4dtoolz.git
synced 2026-10-10 04:03:16 +08:00
Print git version hash if available
This commit is contained in:
committed by
Ivaylo Spasov
parent
934b59b480
commit
2b9ddf260d
+5
-1
@@ -270,7 +270,11 @@ const char *l4dtoolz::GetLicense()
|
||||
|
||||
const char *l4dtoolz::GetVersion()
|
||||
{
|
||||
return "1.0.0.9f";
|
||||
#ifdef __GIT_VERSION
|
||||
return __GIT_VERSION;
|
||||
#else
|
||||
return "1.0.0.9g-unknown";
|
||||
#endif
|
||||
}
|
||||
|
||||
const char *l4dtoolz::GetDate()
|
||||
|
||||
Reference in New Issue
Block a user