mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:44:13 +08:00
mdbx-windows: fix build with modern SDK but for legacy Windows.
Change-Id: Ic443815838715be8cc6565d4d7735651af0b58cc
This commit is contained in:
parent
553def9f0e
commit
648f991a5b
@ -753,12 +753,12 @@ typedef NTSTATUS(NTAPI *MDBX_NtFsControlFile)(
|
|||||||
OUT OPTIONAL PVOID OutputBuffer, IN ULONG OutputBufferLength);
|
OUT OPTIONAL PVOID OutputBuffer, IN ULONG OutputBufferLength);
|
||||||
extern MDBX_NtFsControlFile mdbx_NtFsControlFile;
|
extern MDBX_NtFsControlFile mdbx_NtFsControlFile;
|
||||||
|
|
||||||
#ifndef _WIN32_WINNT_WIN8
|
#if !defined(_WIN32_WINNT_WIN8) || _WIN32_WINNT < _WIN32_WINNT_WIN8
|
||||||
typedef struct _WIN32_MEMORY_RANGE_ENTRY {
|
typedef struct _WIN32_MEMORY_RANGE_ENTRY {
|
||||||
PVOID VirtualAddress;
|
PVOID VirtualAddress;
|
||||||
SIZE_T NumberOfBytes;
|
SIZE_T NumberOfBytes;
|
||||||
} WIN32_MEMORY_RANGE_ENTRY, *PWIN32_MEMORY_RANGE_ENTRY;
|
} WIN32_MEMORY_RANGE_ENTRY, *PWIN32_MEMORY_RANGE_ENTRY;
|
||||||
#endif
|
#endif /* Windows 8.x */
|
||||||
|
|
||||||
typedef BOOL(WINAPI *MDBX_PrefetchVirtualMemory)(
|
typedef BOOL(WINAPI *MDBX_PrefetchVirtualMemory)(
|
||||||
HANDLE hProcess, ULONG_PTR NumberOfEntries,
|
HANDLE hProcess, ULONG_PTR NumberOfEntries,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user