Преглед изворни кода

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

Bill Hoffman пре 21 година
родитељ
комит
6b31e5c851
1 измењених фајлова са 1 додато и 1 уклоњено
  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();
 #endif
 #ifdef __MINGW32__