Do not define __STRICT_ANSI__ in clang-cl
llvm-svn: 212066
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user