mirror of
https://github.com/reactos/reactos.git
synced 2025-07-01 12:11:21 +00:00
[RTL]
Don't use _InterlockedCompareExchangePointer, that function doesn't exist on x86 svn path=/branches/cmake-bringup/; revision=49678
This commit is contained in:
parent
f12dd9240e
commit
1a4c47df9e
1 changed files with 3 additions and 3 deletions
|
@ -65,9 +65,9 @@ RtlpCreateCriticalSectionSem(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
}
|
}
|
||||||
DPRINT("Created Event: %p \n", hNewEvent);
|
DPRINT("Created Event: %p \n", hNewEvent);
|
||||||
|
|
||||||
if (_InterlockedCompareExchangePointer((PVOID*)&CriticalSection->LockSemaphore,
|
if (InterlockedCompareExchangePointer((PVOID*)&CriticalSection->LockSemaphore,
|
||||||
(PVOID)hNewEvent,
|
(PVOID)hNewEvent,
|
||||||
0)) {
|
0)) {
|
||||||
|
|
||||||
/* Some just created an event */
|
/* Some just created an event */
|
||||||
DPRINT("Closing already created event: %p\n", hNewEvent);
|
DPRINT("Closing already created event: %p\n", hNewEvent);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue