mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 05:00:41 +00:00
- fixed compilation on non-Windows.
In this header we must explicitly use the std:: namespace for min/max.
This commit is contained in:
parent
6e0fbb2043
commit
c7da8ca9d4
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ static inline char *strlwr(char *str)
|
|||
}
|
||||
|
||||
inline int I_GetNumaNodeCount() { return 1; }
|
||||
inline int I_GetNumaNodeThreadCount(int numaNode) { return max<int>(std::thread::hardware_concurrency(), 1); }
|
||||
inline int I_GetNumaNodeThreadCount(int numaNode) { return std::max<int>(std::thread::hardware_concurrency(), 1); }
|
||||
inline void I_SetThreadNumaNode(std::thread &thread, int numaNode) { }
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue