Author: sginsberg
Date: Thu Oct 1 16:18:54 2009
New Revision: 43249
URL:
http://svn.reactos.org/svn/reactos?rev=43249&view=rev
Log:
- Fix MSVC YieldProcessor macro
Modified:
trunk/reactos/include/psdk/winnt.h
Modified: trunk/reactos/include/psdk/winnt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnt.h?rev=4…
==============================================================================
--- trunk/reactos/include/psdk/winnt.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winnt.h [iso-8859-1] Thu Oct 1 16:18:54 2009
@@ -4965,20 +4965,16 @@
#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");