From: Nate Begeman Date: Wed, 21 Jul 2010 02:02:56 +0000 (+0000) Subject: Fix win64 compilation of constants like 0xFFFFFFFFFFFFFFFFULL X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dbf8ea413e7b4002d6f0f80415fe447652bc466d;p=clang Fix win64 compilation of constants like 0xFFFFFFFFFFFFFFFFULL intmax_t is __int64 (long long to clang), per VS 2010 stdint.h git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108980 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index fdf63e738b..4c6a12c238 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1447,7 +1447,9 @@ public: TLSSupported = false; WCharType = UnsignedShort; LongWidth = LongAlign = 32; - DoubleAlign = LongLongAlign = 64; + IntMaxType = SignedLongLong; + UIntMaxType = UnsignedLongLong; + Int64Type = SignedLongLong; } virtual void getTargetDefines(const LangOptions &Opts, MacroBuilder &Builder) const {