fix windows build
This commit is contained in:
parent
a43b24c24a
commit
43da4fba50
|
@ -88,7 +88,7 @@ namespace libtorrent
|
||||||
{
|
{
|
||||||
FILE_IO_PRIORITY_HINT_INFO priorityHint;
|
FILE_IO_PRIORITY_HINT_INFO priorityHint;
|
||||||
priorityHint.PriorityHint = IoPriorityHintLow;
|
priorityHint.PriorityHint = IoPriorityHintLow;
|
||||||
result = SetFileInformationByHandle(e.file_ptr->native_handle(),
|
SetFileInformationByHandle(e.file_ptr->native_handle(),
|
||||||
FileIoPriorityHintInfo, &priorityHint, sizeof(PriorityHint));
|
FileIoPriorityHintInfo, &priorityHint, sizeof(PriorityHint));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue