diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-22 17:48:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-22 17:48:00 +0000 |
commit | fe1ea7b3e4552a612a1b0a11734598651e5ddfdf (patch) | |
tree | 7c3925abd2f35bca44dbadab97d7ed64fd6ca574 /lib/Basic/Targets.cpp | |
parent | ef57c61ec3642ba7faaf7b9c0c4a6f23fa39d77c (diff) |
another tweak for haiku support, patch by Paul Davey!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 6624ed9d38..832c91cfb6 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1236,6 +1236,8 @@ public: HaikuX86_32TargetInfo(const std::string& triple) : X86_32TargetInfo(triple) { SizeType = UnsignedLong; + IntPtrType = SignedLong; + PtrDiffType = SignedLong; } virtual void getTargetDefines(const LangOptions &Opts, MacroBuilder &Builder) const { |