From a1f677c3d16346cbd75bc0055e5e86ddebb269c7 Mon Sep 17 00:00:00 2001 From: Ken Dyck Date: Thu, 19 Nov 2009 14:16:57 +0000 Subject: Add __WINT_WIDTH__ to paramaterize the limits of WINT_MIN and WINT_MAX in stdint.h. llvm-svn: 89348 --- clang/lib/Frontend/InitPreprocessor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib') diff --git a/clang/lib/Frontend/InitPreprocessor.cpp b/clang/lib/Frontend/InitPreprocessor.cpp index c2fd8d73602..2e860145fa5 100644 --- a/clang/lib/Frontend/InitPreprocessor.cpp +++ b/clang/lib/Frontend/InitPreprocessor.cpp @@ -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()); -- cgit v1.2.3