diff --git a/src/mmap_disk_io.cpp b/src/mmap_disk_io.cpp index d7b582b0164..e9574b857ae 100644 --- a/src/mmap_disk_io.cpp +++ b/src/mmap_disk_io.cpp @@ -1547,10 +1547,10 @@ TORRENT_EXPORT std::unique_ptr mmap_disk_io_constructor( struct MPI { ULONG MemoryPriority; }; -#ifndef MEMORY_PRIORITY_BELOW_NORMAL - ULONG const MEMORY_PRIORITY_BELOW_NORMAL = 4; +#ifndef MEMORY_PRIORITY_LOW + ULONG const MEMORY_PRIORITY_LOW = 2; #endif - MPI info{MEMORY_PRIORITY_BELOW_NORMAL}; + MPI info{MEMORY_PRIORITY_LOW}; SetThreadInformation(GetCurrentThread(), ThreadMemoryPriority , &info, sizeof(info)); }