diff options
author | Nate Begeman <natebegeman@mac.com> | 2010-07-21 02:02:56 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2010-07-21 02:02:56 +0000 |
commit | dbf8ea413e7b4002d6f0f80415fe447652bc466d (patch) | |
tree | f25eacefdf0c4380f3b94d0486de884f3153fe56 | |
parent | 291ae949612e371c41bf771a483b407d49372a4f (diff) |
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
-rw-r--r-- | lib/Basic/Targets.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |