From a2c0376e08d80d7b7dad8713d1df334b2b81eff9 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Mon, 2 Jul 2018 17:45:19 +0100 Subject: [PATCH] Fix build on non-Windows, broken by 0897a25c0f0b9b865 --- storage/xtradb/os/os0file.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/xtradb/os/os0file.cc b/storage/xtradb/os/os0file.cc index bf9db50b7f7..4246bfbff70 100644 --- a/storage/xtradb/os/os0file.cc +++ b/storage/xtradb/os/os0file.cc @@ -1691,6 +1691,7 @@ os_file_set_atomic_writes( #endif } +#ifdef _WIN32 /** Check that IO of specific size is possible for the file opened with FILE_FLAG_NO_BUFFERING. @@ -1715,6 +1716,7 @@ static bool unbuffered_io_possible(HANDLE file, size_t io_size) } return true; } +#endif /****************************************************************//** NOTE! Use the corresponding macro os_file_create(), not directly