commit | b526e93d03d55b4af73eb25077d10b70a0cf4178 | [log] [tgz] |
---|---|---|
author | David Chisnall <csdavec@swan.ac.uk> | Wed Mar 28 18:04:14 2012 +0000 |
committer | David Chisnall <csdavec@swan.ac.uk> | Wed Mar 28 18:04:14 2012 +0000 |
tree | 40433ad2f8e02ddab45f445530d63327dcbf52be | |
parent | ba0afde486f5f6b9d31e970fcf387c021c7bc2ba [diff] [blame] |
Fix the type of wchar_t on Solaris. Patch by Dmitri Shubin! llvm-svn: 153585
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 7442432..73bd2b6 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp
@@ -509,7 +509,7 @@ SolarisTargetInfo(const std::string& triple) : OSTargetInfo<Target>(triple) { this->UserLabelPrefix = ""; - this->WCharType = this->SignedLong; + this->WCharType = this->SignedInt; // FIXME: WIntType should be SignedLong } };