From fb02784df0a218532018d8c54e3ca7e78c2f5f0a Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Wed, 28 Mar 2012 18:04:14 +0000 Subject: [PATCH] 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 --- lib/Basic/Targets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(triple) { this->UserLabelPrefix = ""; - this->WCharType = this->SignedLong; + this->WCharType = this->SignedInt; // FIXME: WIntType should be SignedLong } }; -- 2.40.0