diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-03-28 18:04:14 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-03-28 18:04:14 +0000 |
commit | fb02784df0a218532018d8c54e3ca7e78c2f5f0a (patch) | |
tree | c49f4516760e7a895eb0e421b2d4d5b1d9d0ac1d /lib | |
parent | a78eca20429e55b041bffcea1938cd0df07a6ebd (diff) |
Fix the type of wchar_t on Solaris.
Patch by Dmitri Shubin!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Basic/Targets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 7442432975..73bd2b6789 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -509,7 +509,7 @@ public: SolarisTargetInfo(const std::string& triple) : OSTargetInfo<Target>(triple) { this->UserLabelPrefix = ""; - this->WCharType = this->SignedLong; + this->WCharType = this->SignedInt; // FIXME: WIntType should be SignedLong } }; |