Text archives Help
- From: boulos@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [Manta] r1921 - trunk/Core/Util
- Date: Wed, 12 Dec 2007 11:54:39 -0700 (MST)
Author: boulos
Date: Wed Dec 12 11:54:38 2007
New Revision: 1921
Modified:
trunk/Core/Util/Preprocessor.h
Log:
Fix for WIN32 Intel Compiler lack of Pragma support.
Modified: trunk/Core/Util/Preprocessor.h
==============================================================================
--- trunk/Core/Util/Preprocessor.h (original)
+++ trunk/Core/Util/Preprocessor.h Wed Dec 12 11:54:38 2007
@@ -12,7 +12,9 @@
// NOTE(boulos): ISO C99 defines _Pragma to let you do this.
#define MANTA_PRAGMA(str) _Pragma (#str)
-#if defined(__INTEL_COMPILER)
+// Even with the Intel Compiler and Qstd=c99, this won't work on
+// Win32...
+#if defined(__INTEL_COMPILER) && !defined(_WIN32)
#define MANTA_UNROLL(amt) MANTA_PRAGMA(unroll((amt)))
#else
// NOTE(boulos): Assuming GCC
- [Manta] r1921 - trunk/Core/Util, boulos, 12/12/2007
Archive powered by MHonArc 2.6.16.