- Fix MSVC YieldProcessor macro
authorStefan Ginsberg <stefanginsberg@gmail.com>
Thu, 1 Oct 2009 14:18:54 +0000 (14:18 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Thu, 1 Oct 2009 14:18:54 +0000 (14:18 +0000)
svn path=/trunk/; revision=43249

reactos/include/psdk/winnt.h

index d506bb6..627e3dc 100644 (file)
@@ -4965,20 +4965,16 @@ MemoryBarrier(VOID)
 #error Unknown architecture
 #endif
 
-VOID
-_mm_pause (
-    VOID
-    );
-
-
 #if defined(_M_IX86)
 #ifdef _MSC_VER
 #pragma intrinsic(_mm_pause)
+#define YieldProcessor _mm_pause
 #else
 #define YieldProcessor() __asm__ __volatile__("pause");
 #endif
 #elif defined (_M_AMD64)
 #ifdef _MSC_VER
+#pragma intrinsic(_mm_pause)
 #define YieldProcessor _mm_pause
 #else
 #define YieldProcessor() __asm__ __volatile__("pause");