[cfe-commits] r102098 - /cfe/trunk/lib/Basic/Targets.cpp
Chris Lattner
sabre at nondot.org
Thu Apr 22 10:48:00 PDT 2010
Author: lattner
Date: Thu Apr 22 12:48:00 2010
New Revision: 102098
URL: http://llvm.org/viewvc/llvm-project?rev=102098&view=rev
Log:
another tweak for haiku support, patch by Paul Davey!
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=102098&r1=102097&r2=102098&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Thu Apr 22 12:48:00 2010
@@ -1236,6 +1236,8 @@
HaikuX86_32TargetInfo(const std::string& triple)
: X86_32TargetInfo(triple) {
SizeType = UnsignedLong;
+ IntPtrType = SignedLong;
+ PtrDiffType = SignedLong;
}
virtual void getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {
More information about the cfe-commits
mailing list