As the comment above this code section states, the only reason we accept 1,2,3 here is for backward compatibility. 4 and 5 never were legal values, hence they shouldn't be detected

svn-id: r14015
This commit is contained in:
Max Horn 2004-06-23 10:23:44 +00:00
parent 86af05599b
commit 55ad317aad

View File

@ -189,10 +189,6 @@ Platform parsePlatform(const String &str) {
return kPlatformAtariST;
else if (!strcmp(s, "3"))
return kPlatformMacintosh;
else if (!strcmp(s, "4"))
return kPlatformFMTowns;
else if (!strcmp(s, "5"))
return kPlatformWindows;
const PlatformDescription *l = g_platforms;
for (; l->code; ++l) {