Skip to content

Commit 01311ed

Browse files
committed
properly support unix32-unsigned and unix64-unsigned platforms
1 parent 15d1a14 commit 01311ed

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

lib/platform.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,18 @@ bool cppcheck::Platform::set(const std::string& platformstr, std::string& errstr
111111
t = Type::Unix32;
112112
platformFile = platformstr;
113113
}
114+
else if (platformstr == "unix32-unsigned") {
115+
t = Type::Unix32;
116+
platformFile = platformstr;
117+
}
114118
else if (platformstr == "unix64") {
115119
t = Type::Unix64;
116120
platformFile = platformstr;
117121
}
122+
else if (platformstr == "unix64-unsigned") {
123+
t = Type::Unix64;
124+
platformFile = platformstr;
125+
}
118126
else if (platformstr == "native") {
119127
t = Type::Native;
120128
}

0 commit comments

Comments
 (0)