mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Fix compilation for Windows 7 with MinGW
This commit is contained in:
parent
aaf659519a
commit
a4b9a4d9da
@ -2924,6 +2924,13 @@ void Session::applyOSMemoryPriority() const
|
|||||||
{
|
{
|
||||||
ULONG MemoryPriority;
|
ULONG MemoryPriority;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define MEMORY_PRIORITY_LOWEST 0
|
||||||
|
#define MEMORY_PRIORITY_VERY_LOW 1
|
||||||
|
#define MEMORY_PRIORITY_LOW 2
|
||||||
|
#define MEMORY_PRIORITY_MEDIUM 3
|
||||||
|
#define MEMORY_PRIORITY_BELOW_NORMAL 4
|
||||||
|
#define MEMORY_PRIORITY_NORMAL 5
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MEMORY_PRIORITY_INFORMATION prioInfo {};
|
MEMORY_PRIORITY_INFORMATION prioInfo {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user