Browse Source

BUG: fix problem where cmake thinks the intel compiler is gnu

Bill Hoffman 21 years ago
parent
commit
6b31e5c851
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/CMakeTestGNU.c

+ 1 - 1
Modules/CMakeTestGNU.c

@@ -1,4 +1,4 @@
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
 void THIS_IS_GNU();
 void THIS_IS_GNU();
 #endif
 #endif
 #ifdef __MINGW32__
 #ifdef __MINGW32__