Fix build on non-Windows, broken by 0897a25c0f0b9b865
This commit is contained in:
parent
8c5d64dafb
commit
a2c0376e08
@ -1691,6 +1691,7 @@ os_file_set_atomic_writes(
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
/** Check that IO of specific size is possible for the file
|
/** Check that IO of specific size is possible for the file
|
||||||
opened with FILE_FLAG_NO_BUFFERING.
|
opened with FILE_FLAG_NO_BUFFERING.
|
||||||
|
|
||||||
@ -1715,6 +1716,7 @@ static bool unbuffered_io_possible(HANDLE file, size_t io_size)
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************//**
|
/****************************************************************//**
|
||||||
NOTE! Use the corresponding macro os_file_create(), not directly
|
NOTE! Use the corresponding macro os_file_create(), not directly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user