Author: tkreuzer
Date: Sun Nov 21 01:36:51 2010
New Revision: 49678
URL: http://svn.reactos.org/svn/reactos?rev=49678&view=rev
Log:
[RTL]
Don't use _InterlockedCompareExchangePointer, that function doesn't exist on x86
Modified:
branches/cmake-bringup/lib/rtl/critical.c
Modified: branches/cmake-bringup/lib/rtl/critical.c
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/rtl/critical.…
==============================================================================
--- branches/cmake-bringup/lib/rtl/critical.c [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/rtl/critical.c [iso-8859-1] Sun Nov 21 01:36:51 2010
@@ -65,9 +65,9 @@
}
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);