mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Merge branch 'master' into 4.3.4
Conflicts: src/server/game/Entities/Player/Player.cpp src/server/scripts/Kalimdor/zone_feralas.cpp
This commit is contained in:
@@ -101,7 +101,6 @@
|
||||
#define snprintf _snprintf
|
||||
#define atoll _atoi64
|
||||
#define vsnprintf _vsnprintf
|
||||
#define finite(X) _finite(X)
|
||||
#define llabs _abs64
|
||||
|
||||
#else
|
||||
@@ -111,7 +110,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
inline float finiteAlways(float f) { return finite(f) ? f : 0.0f; }
|
||||
inline float finiteAlways(float f) { return std::isfinite(f) ? f : 0.0f; }
|
||||
|
||||
#define STRINGIZE(a) #a
|
||||
|
||||
|
||||
@@ -28,6 +28,11 @@
|
||||
|
||||
void SetProcessPriority(const std::string logChannel)
|
||||
{
|
||||
// Suppresses Mac OS X Warning since logChannel isn't used.
|
||||
#if PLATFORM_APPLE
|
||||
(void)logChannel;
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) || defined(__linux__)
|
||||
|
||||
///- Handle affinity for multiple processors and process priority
|
||||
|
||||
Reference in New Issue
Block a user