Fix win64 compilation of constants like 0xFFFFFFFFFFFFFFFFULL

intmax_t is __int64 (long long to clang), per VS 2010 stdint.h

llvm-svn: 108980
This commit is contained in:
Nate Begeman 2010-07-21 02:02:56 +00:00
parent 53cad2ef04
commit 6e8865a150
1 changed files with 3 additions and 1 deletions

View File

@ -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 {