mirror of
https://github.com/isar/libmdbx.git
synced 2025-11-07 07:18:56 +08:00
mdbx-windows: add MDBX_AVOID_CRT.
Change-Id: I08233d777b318037372ec250c754f093b3047c94
This commit is contained in:
@@ -53,7 +53,9 @@ 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")
|
||||
#ifdef MDBX_AVOID_CRT
|
||||
#pragma comment(lib, "mdbx_ntdll_extra.lib")
|
||||
#endif
|
||||
|
||||
extern NTSTATUS NTAPI NtCreateSection(
|
||||
OUT PHANDLE SectionHandle, IN ACCESS_MASK DesiredAccess,
|
||||
|
||||
Reference in New Issue
Block a user