From dbf8ea413e7b4002d6f0f80415fe447652bc466d Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Wed, 21 Jul 2010 02:02:56 +0000 Subject: [PATCH] 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 --- lib/Basic/Targets.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- 2.50.1