Fixed #8158 (Custom platform configuration seems to be not used)

This commit is contained in:
Daniel Marjamäki 2017-08-09 11:06:31 +02:00
parent c0890b5255
commit 7a9d4b820f
2 changed files with 6 additions and 1 deletions

View File

@ -220,5 +220,7 @@ bool cppcheck::Platform::platformFile(const std::string &filename)
long_bit = char_bit * sizeof_long;
long_long_bit = char_bit * sizeof_long_long;
platformType = PlatformFile;
return true;
}

View File

@ -87,7 +87,8 @@ namespace cppcheck {
Win64,
Unix32,
Unix64,
AVR8
AVR8,
PlatformFile
};
/** platform type */
@ -127,6 +128,8 @@ namespace cppcheck {
return "unix64";
case AVR8:
return "avr8";
case PlatformFile:
return "platformFile";
default:
return "unknown";
}