Do not define __STRICT_ANSI__ in clang-cl

llvm-svn: 212066
This commit is contained in:
Ehsan Akhgari
2014-06-30 20:36:33 +00:00
parent 644d2eee59
commit 9be07e1acd
2 changed files with 2 additions and 1 deletions

View File

@@ -478,7 +478,7 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
// Initialize language-specific preprocessor defines.
// Standard conforming mode?
if (!LangOpts.GNUMode)
if (!LangOpts.GNUMode && !LangOpts.MSVCCompat)
Builder.defineMacro("__STRICT_ANSI__");
if (LangOpts.CPlusPlus11)