diff options
| author | Shauren <shauren.trinity@gmail.com> | 2024-06-02 14:21:13 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-08-30 22:55:25 +0200 |
| commit | bad2936918e060c25bf008b94627c0835ed4314f (patch) | |
| tree | 4de31da5de7ca5b75b4346634beefefb17249a23 /src/server | |
| parent | 7e193e15dbaf6429b93ec9f0bea099f1fb90ff05 (diff) | |
Core/Misc: Fixed windows _UNICODE incompatibilities
(cherry picked from commit fd4ffc81b2593dbf5554b553828a736ac6263e98)
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/authserver/Main.cpp | 7 | ||||
| -rw-r--r-- | src/server/worldserver/Main.cpp | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/src/server/authserver/Main.cpp b/src/server/authserver/Main.cpp index b254e9c28fe..079f804fe30 100644 --- a/src/server/authserver/Main.cpp +++ b/src/server/authserver/Main.cpp @@ -63,9 +63,10 @@ namespace fs = boost::filesystem; #if TRINITY_PLATFORM == TRINITY_PLATFORM_WINDOWS #include "ServiceWin32.h" -char serviceName[] = "authserver"; -char serviceLongName[] = "TrinityCore auth service"; -char serviceDescription[] = "TrinityCore World of Warcraft emulator auth service"; +#include <tchar.h> +TCHAR serviceName[] = _T("authserver"); +TCHAR serviceLongName[] = _T("TrinityCore auth service"); +TCHAR serviceDescription[] = _T("TrinityCore World of Warcraft emulator auth service"); /* * -1 - not in service mode * 0 - stopped diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp index 63145380745..87b4363be53 100644 --- a/src/server/worldserver/Main.cpp +++ b/src/server/worldserver/Main.cpp @@ -76,9 +76,10 @@ namespace fs = boost::filesystem; #ifdef _WIN32 #include "ServiceWin32.h" -char serviceName[] = "worldserver"; -char serviceLongName[] = "TrinityCore world service"; -char serviceDescription[] = "TrinityCore World of Warcraft emulator world service"; +#include <tchar.h> +TCHAR serviceName[] = _T("worldserver"); +TCHAR serviceLongName[] = _T("TrinityCore world service"); +TCHAR serviceDescription[] = _T("TrinityCore World of Warcraft emulator world service"); /* * -1 - not in service mode * 0 - stopped |
