mirror of
https://github.com/isar/libmdbx.git
synced 2025-03-03 16:58:14 +08:00
mdbx: pragma lib ntdll.lib
This commit is contained in:
parent
28ba127db2
commit
ca83480c34
@ -49,6 +49,7 @@ static int ntstatus2errcode(NTSTATUS status) {
|
||||
* conflict with the regular user-level headers, so we explicitly
|
||||
* 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")
|
||||
|
||||
#ifndef NT_SUCCESS
|
||||
#define NT_SUCCESS(x) ((x) >= 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user