mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[RTL]
- Fix compilation when NDEBUG is not defined svn path=/trunk/; revision=50966
This commit is contained in:
parent
54010b7e9e
commit
ab803f82ce
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ NTAPI
|
||||||
RtlLeaveCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
RtlLeaveCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
{
|
{
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
HANDLE Thread = (HANDLE)NtCurrentTeb()->Cid.UniqueThread;
|
HANDLE Thread = (HANDLE)NtCurrentTeb()->ClientId.UniqueThread;
|
||||||
|
|
||||||
/* In win this case isn't checked. However it's a valid check so it should only
|
/* In win this case isn't checked. However it's a valid check so it should only
|
||||||
be performed in debug builds! */
|
be performed in debug builds! */
|
||||||
|
|
Loading…
Reference in a new issue