Don't use _InterlockedCompareExchangePointer, that function doesn't exist on x86

svn path=/branches/cmake-bringup/; revision=49678
This commit is contained in:
Timo Kreuzer 2010-11-21 01:36:51 +00:00
parent f12dd9240e
commit 1a4c47df9e

View file

@ -65,7 +65,7 @@ RtlpCreateCriticalSectionSem(PRTL_CRITICAL_SECTION CriticalSection)
}
DPRINT("Created Event: %p \n", hNewEvent);
if (_InterlockedCompareExchangePointer((PVOID*)&CriticalSection->LockSemaphore,
if (InterlockedCompareExchangePointer((PVOID*)&CriticalSection->LockSemaphore,
(PVOID)hNewEvent,
0)) {