mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
+3
-3
@@ -65,9 +65,9 @@ RtlpCreateCriticalSectionSem(PRTL_CRITICAL_SECTION CriticalSection)
|
||||
}
|
||||
DPRINT("Created Event: %p \n", hNewEvent);
|
||||
|
||||
if (_InterlockedCompareExchangePointer((PVOID*)&CriticalSection->LockSemaphore,
|
||||
(PVOID)hNewEvent,
|
||||
0)) {
|
||||
if (InterlockedCompareExchangePointer((PVOID*)&CriticalSection->LockSemaphore,
|
||||
(PVOID)hNewEvent,
|
||||
0)) {
|
||||
|
||||
/* Some just created an event */
|
||||
DPRINT("Closing already created event: %p\n", hNewEvent);
|
||||
|
||||
Reference in New Issue
Block a user