]> granicus.if.org Git - clang/commitdiff
"Someone pointed out that in my previous Targets.cpp patch I didn't
authorMike Stump <mrs@apple.com>
Thu, 8 Oct 2009 23:00:00 +0000 (23:00 +0000)
committerMike Stump <mrs@apple.com>
Thu, 8 Oct 2009 23:00:00 +0000 (23:00 +0000)
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

lib/Basic/Targets.cpp

index 324b1d6f840593c0333158794a9ee9a0f52f5561..6e670c58c6af5df4474389b3627a44816944b8dd 100644 (file)
@@ -1071,6 +1071,7 @@ public:
     TLSSupported = false;
     WCharType = UnsignedShort;
     WCharWidth = WCharAlign = 16;
+    LongWidth = LongAlign = 32;
     DoubleAlign = LongLongAlign = 64;
   }
   virtual void getTargetDefines(const LangOptions &Opts,