Fix the type of wchar_t on Solaris.

Patch by Dmitri Shubin!

llvm-svn: 153585
This commit is contained in:
David Chisnall 2012-03-28 18:04:14 +00:00
parent ba0afde486
commit b526e93d03

View File

@ -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
}
};