mirror of
https://github.com/isar/libmdbx.git
synced 2025-06-07 06:02:41 +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
|
* conflict with the regular user-level headers, so we explicitly
|
||||||
* declare them here. Using these APIs also means we must link to
|
* declare them here. Using these APIs also means we must link to
|
||||||
* ntdll.dll, which is not linked by default in user code. */
|
* ntdll.dll, which is not linked by default in user code. */
|
||||||
|
#pragma comment(lib, "ntdll.lib")
|
||||||
|
|
||||||
#ifndef NT_SUCCESS
|
#ifndef NT_SUCCESS
|
||||||
#define NT_SUCCESS(x) ((x) >= 0)
|
#define NT_SUCCESS(x) ((x) >= 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user