platforms: set bit values when --platform=<file> is used

This commit is contained in:
Daniel Marjamäki 2016-01-09 10:26:48 +01:00
parent 77b6122f82
commit bcba1a7130
1 changed files with 5 additions and 0 deletions

View File

@ -314,5 +314,10 @@ bool Settings::platformFile(const std::string &filename)
}
}
short_bit = char_bit * sizeof_short;
int_bit = char_bit * sizeof_int;
long_bit = char_bit * sizeof_long;
long_long_bit = char_bit * sizeof_long_long;
return true;
}