From: Mike Stump Date: Thu, 8 Oct 2009 23:00:00 +0000 (+0000) Subject: "Someone pointed out that in my previous Targets.cpp patch I didn't X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a55cce8b3e579e62a503976235de5d35fcf6a893;p=clang "Someone pointed out that in my previous Targets.cpp patch I didn't handle the long size difference for one of the Windows targets." Patch by John Thompson. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83592 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 324b1d6f84..6e670c58c6 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1071,6 +1071,7 @@ public: TLSSupported = false; WCharType = UnsignedShort; WCharWidth = WCharAlign = 16; + LongWidth = LongAlign = 32; DoubleAlign = LongLongAlign = 64; } virtual void getTargetDefines(const LangOptions &Opts,