Skip to content

Commit

Permalink
w32api: correct UnlockRestore macro define
Browse files Browse the repository at this point in the history
suppress useless message
  • Loading branch information
jmalak committed Oct 11, 2024
1 parent f8d9eb2 commit 1054443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bld/w32api/include/winbase.mh
Original file line number Diff line number Diff line change
Expand Up @@ -3108,7 +3108,7 @@ WINADVAPI BOOL WINAPI AddConditionalAce( PACL, DWORD, DWORD, UCHAR, DWORD,
#define GetFreeSpace( x ) 0x00100000L
#define InterlockedExchangePointer( p1, p2 ) (PVOID)InterlockedExchange( (PLONG)(p1), (LONG)(p2) )
#define InterlockedCompareExchangePointer( p1, p2, p3) (PVOID)(LONG_PTR)InterlockedCompareExchange( (LONG volatile *)(p1), (LONG)(LONG_PTR)(p2), (LONG)(LONG_PTR)(p3) )
#define UnlockResource( x ) ((x), 0)
#define UnlockResource( x ) ((void)(x), 0)
#define HasOverlappedIoCompleted( x ) (((DWORD)(x)->Internal) != STATUS_PENDING)
#if (_WIN32_WINNT >= 0x0600)
#define ProcThreadAttributeValue( p1, p2, p3, p4 ) \
Expand Down

0 comments on commit 1054443

Please sign in to comment.