diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-07-15 14:10:07 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-07-16 08:28:18 +0000 |
commit | 7714ef7406c89a3257a49567b3cda15786c032d6 (patch) | |
tree | 14033d4f004c983393fc8c9c1ec28555d80435d6 /src | |
parent | cf3a639f9d7f6325f3d0606b7f90cbc3c4450d96 (diff) |
Set Q_CC_INTEL to the ICC version when in MSVC compat mode
Commit ffcad3244ff6e2429da1bf985d6d1116c251c2ec did that for the GCC-
compat mode, but I forgot the MSVC one.
Change-Id: Ib1d49f003062638b4e27e5ead4554e25f539c373
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qcompilerdetection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 84afea0960..c582b1f238 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -97,7 +97,7 @@ /* Intel C++ disguising as Visual C++: the `using' keyword avoids warnings */ # if defined(__INTEL_COMPILER) # define Q_DECL_VARIABLE_DEPRECATED -# define Q_CC_INTEL +# define Q_CC_INTEL __INTEL_COMPILER # endif /* only defined for MSVC since that's the only compiler that actually optimizes for this */ |