summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeTestGNU.c
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-05-18 18:33:12 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-05-18 18:33:12 (GMT)
commit6b31e5c851affe59a8c2c7628cdc0e20080c875c (patch)
treec159dcf9bd597456706d79165df7a68283385b6d /Modules/CMakeTestGNU.c
parent55969dcf232bfaa554a099cb78c9d9e31c18c845 (diff)
downloadCMake-6b31e5c851affe59a8c2c7628cdc0e20080c875c.zip
CMake-6b31e5c851affe59a8c2c7628cdc0e20080c875c.tar.gz
CMake-6b31e5c851affe59a8c2c7628cdc0e20080c875c.tar.bz2
BUG: fix problem where cmake thinks the intel compiler is gnu
Diffstat (limited to 'Modules/CMakeTestGNU.c')
-rw-r--r--Modules/CMakeTestGNU.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeTestGNU.c b/Modules/CMakeTestGNU.c
index 386614a..933e5a2 100644
--- a/Modules/CMakeTestGNU.c
+++ b/Modules/CMakeTestGNU.c
@@ -1,4 +1,4 @@
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
void THIS_IS_GNU();
#endif
#ifdef __MINGW32__