forked from OSchip/llvm-project
Tell the VS headers that char16_t and char32_t are keywords, so yvals.h doesn't try to define them as typedefs.
llvm-svn: 113126
This commit is contained in:
parent
f0b0497343
commit
2ba828f36d
|
@ -342,6 +342,10 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
|
|||
Builder.defineMacro("_NATIVE_WCHAR_T_DEFINED");
|
||||
Builder.append("class type_info;");
|
||||
}
|
||||
|
||||
if (LangOpts.CPlusPlus0x) {
|
||||
Builder.defineMacro("_HAS_CHAR16_T_LANGUAGE_SUPPORT", "1");
|
||||
}
|
||||
}
|
||||
|
||||
if (LangOpts.Optimize)
|
||||
|
|
Loading…
Reference in New Issue