Add __WINT_WIDTH__ to paramaterize the limits of WINT_MIN and WINT_MAX in

stdint.h.

llvm-svn: 89348
This commit is contained in:
Ken Dyck
2009-11-19 14:16:57 +00:00
parent 279ed5189c
commit a1f677c3d1
2 changed files with 12 additions and 0 deletions

View File

@@ -399,6 +399,7 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
DefineTypeWidth("__SIZE_WIDTH__", TI.getSizeType(), TI, Buf);
DefineType("__WCHAR_TYPE__", TI.getWCharType(), Buf);
DefineType("__WINT_TYPE__", TI.getWIntType(), Buf);
DefineTypeWidth("__WINT_WIDTH__", TI.getWIntType(), TI, Buf);
DefineFloatMacros(Buf, "FLT", &TI.getFloatFormat());
DefineFloatMacros(Buf, "DBL", &TI.getDoubleFormat());