diff options
| author | Shauren <shauren.trinity@gmail.com> | 2017-05-23 18:34:02 +0200 |
|---|---|---|
| committer | Naios <naios-dev@live.de> | 2017-05-23 18:46:44 +0200 |
| commit | 9ec2a82cac993648ed603711f84b6b743ca1e106 (patch) | |
| tree | 350b58c26e075f52d778adb757f2f539f23b95cb /src/common/Threading | |
| parent | 04dfd78dac85f18b3a6d389f2b9f65ab0a534dff (diff) | |
Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib)
(cherry picked from commit b8db320bf14e327bcd12279871b914d8635ef122)
Diffstat (limited to 'src/common/Threading')
| -rw-r--r-- | src/common/Threading/ProcessPriority.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/common/Threading/ProcessPriority.h b/src/common/Threading/ProcessPriority.h index 65332c6dff3..b4ff3f5ecf6 100644 --- a/src/common/Threading/ProcessPriority.h +++ b/src/common/Threading/ProcessPriority.h @@ -28,11 +28,6 @@ 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 @@ -99,6 +94,9 @@ void SetProcessPriority(const std::string& logChannel) } #endif +#else + // Suppresses unused argument warning for all other platforms + (void)logChannel; #endif } |
