aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-06-02 14:21:13 +0200
committerOvahlord <dreadkiller@gmx.de>2024-06-20 01:15:34 +0200
commit970ca6093c590d390d6cfd649ce7f8a9febbd5f7 (patch)
tree94bcae1e0b71b09139343ab0efdc60f2309b4ead /src/server
parentb6714f5746dd2468488b51a6f2b9eb26a6c155e9 (diff)
Core/Misc: Fixed windows _UNICODE incompatibilities
(cherry picked from commit fd4ffc81b2593dbf5554b553828a736ac6263e98)
Diffstat (limited to 'src/server')
-rw-r--r--src/server/bnetserver/Main.cpp7
-rw-r--r--src/server/worldserver/Main.cpp7
2 files changed, 8 insertions, 6 deletions
diff --git a/src/server/bnetserver/Main.cpp b/src/server/bnetserver/Main.cpp
index 97fccdeb871..e9ae51847c5 100644
--- a/src/server/bnetserver/Main.cpp
+++ b/src/server/bnetserver/Main.cpp
@@ -66,9 +66,10 @@ namespace fs = boost::filesystem;
#if TRINITY_PLATFORM == TRINITY_PLATFORM_WINDOWS
#include "ServiceWin32.h"
-char serviceName[] = "bnetserver";
-char serviceLongName[] = "TrinityCore bnet service";
-char serviceDescription[] = "TrinityCore Battle.net emulator authentication service";
+#include <tchar.h>
+TCHAR serviceName[] = _T("bnetserver");
+TCHAR serviceLongName[] = _T("TrinityCore bnet service");
+TCHAR serviceDescription[] = _T("TrinityCore Battle.net emulator authentication service");
/*
* -1 - not in service mode
* 0 - stopped
diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp
index 74cd544965e..e781fb8b95e 100644
--- a/src/server/worldserver/Main.cpp
+++ b/src/server/worldserver/Main.cpp
@@ -81,9 +81,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