From: Timo Kreuzer Date: Sun, 21 Nov 2010 01:36:51 +0000 (+0000) Subject: [RTL] X-Git-Tag: backups/GSoC_2011/GSoC_Themes@51550~467 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=1a4c47df9ee888a9d3f7edc646399b2c41da8d3c [RTL] Don't use _InterlockedCompareExchangePointer, that function doesn't exist on x86 svn path=/branches/cmake-bringup/; revision=49678 --- diff --git a/lib/rtl/critical.c b/lib/rtl/critical.c index 2045c0e748c..f166814da1c 100644 --- a/lib/rtl/critical.c +++ b/lib/rtl/critical.c @@ -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);