소스 검색

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__