Commit a2c0376e authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix build on non-Windows, broken by 0897a25c

parent 8c5d64da
...@@ -1691,6 +1691,7 @@ os_file_set_atomic_writes( ...@@ -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) ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment