diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-01-12 21:19:25 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-01-12 21:19:25 +0000 |
commit | e6d6e51686d71d907288bcda90188ffdf803328f (patch) | |
tree | 7bd40e16e1dc63daa7a20d2eb3975acb1003c157 /clang/lib/Basic | |
parent | 46a525d456a913cd3d370ba02050c3175c5eb42d (diff) | |
download | bcm5719-llvm-e6d6e51686d71d907288bcda90188ffdf803328f.tar.gz bcm5719-llvm-e6d6e51686d71d907288bcda90188ffdf803328f.zip |
wint_t is defined as 'unsigned int' on Linux. Fixes PR8938.
llvm-svn: 123320
Diffstat (limited to 'clang/lib/Basic')
-rw-r--r-- | clang/lib/Basic/Targets.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 16a12604e30..4faeac65e48 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -257,6 +257,7 @@ public: LinuxTargetInfo(const std::string& triple) : OSTargetInfo<Target>(triple) { this->UserLabelPrefix = ""; + this->WIntType = TargetInfo::UnsignedInt; } }; |