mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Fix GitRevision::GetHostOSVersion compilation on arch linux, TRINITY_BUILD_HOST_DISTRO_VERSION_ID is not defined there
This commit is contained in:
@@ -45,9 +45,13 @@ char const* GitRevision::GetCMakeVersion()
|
||||
|
||||
char const* GitRevision::GetHostOSVersion()
|
||||
{
|
||||
return
|
||||
return ""
|
||||
#ifdef TRINITY_BUILD_HOST_DISTRO_NAME
|
||||
TRINITY_BUILD_HOST_DISTRO_NAME " " TRINITY_BUILD_HOST_DISTRO_VERSION_ID "; "
|
||||
TRINITY_BUILD_HOST_DISTRO_NAME
|
||||
#ifdef TRINITY_BUILD_HOST_DISTRO_VERSION_ID
|
||||
" " TRINITY_BUILD_HOST_DISTRO_VERSION_ID
|
||||
#endif
|
||||
"; "
|
||||
#endif
|
||||
TRINITY_BUILD_HOST_SYSTEM " " TRINITY_BUILD_HOST_SYSTEM_VERSION
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user