Browse Source

Merge pull request #11505 from glassez/fix-build

Fix compilation for Windows 7 with MinGW
adaptive-webui-19844
Vladimir Golovnev 5 years ago committed by GitHub
parent
commit
7ff8545f55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/base/bittorrent/session.cpp

7
src/base/bittorrent/session.cpp

@ -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…
Cancel
Save