summaryrefslogtreecommitdiff
path: root/Modules/CMakeTestGNU.c
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-05-18 14:33:12 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2004-05-18 14:33:12 -0400
commit6b31e5c851affe59a8c2c7628cdc0e20080c875c (patch)
treec159dcf9bd597456706d79165df7a68283385b6d /Modules/CMakeTestGNU.c
parent55969dcf232bfaa554a099cb78c9d9e31c18c845 (diff)
downloadcmake-6b31e5c851affe59a8c2c7628cdc0e20080c875c.tar.gz
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 386614a1b2..933e5a212b 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__