aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/basicfile.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-12-08 21:28:39 +0100
committerStefan Boberg <[email protected]>2023-12-08 21:28:39 +0100
commit55ca8ee022668069dbf33f5583f7e2a073943abe (patch)
tree9fd0793db7c22aac602c35c2c1688a6ec7d3f26e /src/zenutil/basicfile.cpp
parentstub (diff)
downloadzen-55ca8ee022668069dbf33f5583f7e2a073943abe.tar.xz
zen-55ca8ee022668069dbf33f5583f7e2a073943abe.zip
hide Windows stuff
Diffstat (limited to 'src/zenutil/basicfile.cpp')
-rw-r--r--src/zenutil/basicfile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zenutil/basicfile.cpp b/src/zenutil/basicfile.cpp
index df0704fa9..173b22449 100644
--- a/src/zenutil/basicfile.cpp
+++ b/src/zenutil/basicfile.cpp
@@ -51,6 +51,8 @@ extern "C"
namespace zen {
+#if ZEN_PLATFORM_WINDOWS
+
NTSTATUS NTAPI
NtFlushBuffersFileEx(HANDLE FileHandle, ULONG Flags, PVOID Parameters, ULONG ParametersSize, PIO_STATUS_BLOCK IoStatusBlock)
{
@@ -67,6 +69,8 @@ NtFlushBuffersFileEx(HANDLE FileHandle, ULONG Flags, PVOID Parameters, ULONG Par
return 0;
}
+#endif
+
//////////////////////////////////////////////////////////////////////////
BasicFile::~BasicFile()