<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV># From d515ac32f810fe6e6a986862771c85564193ee51 Mon Sep 17 00:00:00 2001<BR># From: Min Chen <<A href="mailto:chenm003@163.com">chenm003@163.com</A>><BR># Date: Mon, 1 Jul 2013 17:45:07 +0800<BR># Subject: [PATCH 2/3] Disable #pragma in INTEL Compiler<BR>Disable #pragma in INTEL Compiler</DIV>
<DIV>---<BR> source/common/threadpool.cpp | 2 ++<BR> 1 files changed, 2 insertions(+), 0 deletions(-)</DIV>
<DIV>diff --git a/source/common/threadpool.cpp b/source/common/threadpool.cpp<BR>index 1cc10ca..909337b 100644<BR>--- a/source/common/threadpool.cpp<BR>+++ b/source/common/threadpool.cpp<BR>@@ -90,7 +90,9 @@ FORCEINLINE LONGLONG _InterlockedOr64(__inout LONGLONG volatile *Destination,<BR> }<BR> <BR> #define ATOMIC_OR(ptr, mask) _InterlockedOr64((volatile LONG64*)ptr, mask)<BR>+#if defined(__MSC_VER) && !defined(__INTEL_COMPILER)<BR> #pragma intrinsic(_InterlockedCompareExchange64)<BR>+#endif<BR> #else // if _WIN32_WINNT <= _WIN32_WINNT_WINXP<BR> #define ATOMIC_OR(ptr, mask) InterlockedOr64((volatile LONG64*)ptr, mask)<BR> #endif // if _WIN32_WINNT <= _WIN32_WINNT_WINXP<BR>-- <BR>1.7.9.msysgit.0</DIV>
<DIV> </DIV></div>