summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/platform.h
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-15 10:46:17 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-15 10:46:17 -0700
commit76a28bca88c3c8e1b70b43e3e8ac2a2bf1f6c581 (patch)
tree9f9ce3e9eab976c70789af149730caa2b1f07a42 /crawl-ref/source/platform.h
parent0ab1ec01b2bf4492cfdafc668ff57c4460748940 (diff)
downloadcrawl-ref-76a28bca88c3c8e1b70b43e3e8ac2a2bf1f6c581.tar.gz
crawl-ref-76a28bca88c3c8e1b70b43e3e8ac2a2bf1f6c581.zip
platform.h: add support for Intel's C++ compiler on Windows
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/platform.h')
-rw-r--r--crawl-ref/source/platform.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/platform.h b/crawl-ref/source/platform.h
index 65d4a7d712..40064d5896 100644
--- a/crawl-ref/source/platform.h
+++ b/crawl-ref/source/platform.h
@@ -285,4 +285,11 @@
#error "Could not detect 32-bit/64-bit architecture."
#endif
+/* ICC on Windows uses VC includes, etc */
+#ifdef TARGET_OS_WINDOWS
+#ifdef TARGET_COMPILER_ICC
+#define TARGET_COMPILER_VC
+#endif
+#endif
+
#endif