diff --git a/src/common/Common.h b/src/common/Common.h index 1811d65e6..5f1267199 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -41,13 +41,6 @@ #include #endif -#if AC_COMPILER == AC_COMPILER_MICROSOFT -#define atoll _atoi64 -#define llabs _abs64 -#else -#define stricmp strcasecmp -#endif - #define STRINGIZE(a) #a #define MAX_NETCLIENT_PACKET_SIZE (32767 - 1) // Client hardcap: int16 with trailing zero space otherwise crash on memory free diff --git a/src/server/game/Server/WorldSocket.cpp b/src/server/game/Server/WorldSocket.cpp index f2ce1d91b..f6317b504 100644 --- a/src/server/game/Server/WorldSocket.cpp +++ b/src/server/game/Server/WorldSocket.cpp @@ -564,7 +564,7 @@ void WorldSocket::HandleAuthSessionCallback(std::shared_ptr authSes //! Negative mutetime indicates amount of minutes to be muted effective on next login - which is now. if (account.MuteTime < 0) { - account.MuteTime = GameTime::GetGameTime().count() + llabs(account.MuteTime); + account.MuteTime = GameTime::GetGameTime().count() + std::llabs(account.MuteTime); auto* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_MUTE_TIME_LOGIN); stmt->SetData(0, account.MuteTime);