Fix compilation for Windows 7 with MinGW

This commit is contained in:
Vladimir Golovnev (Glassez) 2019-11-21 19:31:04 +03:00
parent aaf659519a
commit a4b9a4d9da
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7

View file

@ -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 {};