mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +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
77d74a11d1
commit
ce99cda019
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_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) { }
|
inline void I_SetThreadNumaNode(std::thread &thread, int numaNode) { }
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue