mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 19:12:25 +00:00
Define integer sizes before including SYSTEM.h
This commit is contained in:
parent
682fa59e42
commit
ebfc60f49d
208 changed files with 1164 additions and 787 deletions
|
|
@ -421,6 +421,12 @@ void writeConfigurationMod() {
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// Make sure SYSTEM.h has set up our core data types correctly.
|
||||
assert(sizeof(int8) == 1, "sizeof(int8) is not 1.");
|
||||
assert(sizeof(int16) == 2, "sizeof(int16) is not 2.");
|
||||
assert(sizeof(int32) == 4, "sizeof(int32) is not 4.");
|
||||
assert(sizeof(int64) == 8, "sizeof(int64) is not 8.");
|
||||
|
||||
oname = getenv("ONAME"); if (!oname) oname = macrotostring(O_NAME);
|
||||
|
||||
if (argc>1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue