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__