diff --git a/include/wx/compiler.h b/include/wx/compiler.h index 163f6a58c5..e633ca158e 100644 --- a/include/wx/compiler.h +++ b/include/wx/compiler.h @@ -16,9 +16,15 @@ Compiler detection and related helpers. */ +/* + Notice that Intel compiler can be used as Microsoft Visual C++ add-on and + so we should define both __INTELC__ and __VISUALC__ for it. + */ #ifdef __INTEL_COMPILER # define __INTELC__ -#elif defined(_MSC_VER) +#endif + +#if defined(_MSC_VER) /* define another standard symbol for Microsoft Visual C++: the standard one (_MSC_VER) is also defined by some other compilers.