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 | b526e93d03d55b4af73eb25077d10b70a0cf4178 (patch) | |
tree | 40433ad2f8e02ddab45f445530d63327dcbf52be /clang/lib | |
parent | ba0afde486f5f6b9d31e970fcf387c021c7bc2ba (diff) | |
download | bcm5719-llvm-b526e93d03d55b4af73eb25077d10b70a0cf4178.tar.gz bcm5719-llvm-b526e93d03d55b4af73eb25077d10b70a0cf4178.zip |
Fix the type of wchar_t on Solaris.
Patch by Dmitri Shubin!
llvm-svn: 153585
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Basic/Targets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 7442432975f..73bd2b6789b 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/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 } }; |