winpr: Fix definition of NTSTATUS_FROM_WIN32
This commit is contained in:
parent
1c2d315354
commit
98528ea973
@ -1272,7 +1272,7 @@
|
||||
|
||||
/* defined in ntstatus.h */
|
||||
#if !defined(NTSTATUS_FROM_WIN32) && !defined(INLINE_NTSTATUS_FROM_WIN32)
|
||||
INLINE NTSTATUS NTSTATUS_FROM_WIN32(long x)
|
||||
static INLINE NTSTATUS NTSTATUS_FROM_WIN32(long x)
|
||||
{
|
||||
return x <= 0 ? (NTSTATUS)x : (NTSTATUS) (((x) & 0x0000FFFF) | (0x7 << 16) | 0xC0000000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user