mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
Merge pull request #11505 from glassez/fix-build
Fix compilation for Windows 7 with MinGW
This commit is contained in:
commit
7ff8545f55
1 changed files with 7 additions and 0 deletions
|
@ -2924,6 +2924,13 @@ void Session::applyOSMemoryPriority() const
|
|||
{
|
||||
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
|
||||
|
||||
MEMORY_PRIORITY_INFORMATION prioInfo {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue