diff options
| author | Stefan Boberg <[email protected]> | 2023-12-08 21:28:39 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-12-08 21:28:39 +0100 |
| commit | 55ca8ee022668069dbf33f5583f7e2a073943abe (patch) | |
| tree | 9fd0793db7c22aac602c35c2c1688a6ec7d3f26e /src/zenutil/basicfile.cpp | |
| parent | stub (diff) | |
| download | zen-55ca8ee022668069dbf33f5583f7e2a073943abe.tar.xz zen-55ca8ee022668069dbf33f5583f7e2a073943abe.zip | |
hide Windows stuff
Diffstat (limited to 'src/zenutil/basicfile.cpp')
| -rw-r--r-- | src/zenutil/basicfile.cpp | 4 |
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() |