mdbx-windows: building and linking mdbx_ntdll_extra.lib

15 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43

Change-Id: I6241d08f14dcd59c6c55aa26660bdec233fb3c94
This commit is contained in:
Leonid Yuriev
2018-10-14 11:54:19 +03:00
parent d520df6a13
commit 96491db229
9 changed files with 43 additions and 8 deletions

View File

@@ -53,6 +53,7 @@ static int ntstatus2errcode(NTSTATUS status) {
* declare them here. Using these APIs also means we must link to
* ntdll.dll, which is not linked by default in user code. */
#pragma comment(lib, "ntdll.lib")
#pragma comment(lib, "mdbx_ntdll_extra.lib")
extern NTSTATUS NTAPI NtCreateSection(
OUT PHANDLE SectionHandle, IN ACCESS_MASK DesiredAccess,