Print git version hash if available

This commit is contained in:
Ivailo Spasov
2013-01-21 15:54:05 +02:00
committed by Ivaylo Spasov
parent 934b59b480
commit 2b9ddf260d
2 changed files with 11 additions and 1 deletions
+5 -1
View File
@@ -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()