mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 06:22:25 +00:00
Update bootstrap C source files.
This commit is contained in:
parent
ee01f97392
commit
b1b4d6b602
20 changed files with 110 additions and 9 deletions
|
|
@ -49,6 +49,7 @@ typedef
|
|||
} Files_Rider;
|
||||
|
||||
|
||||
export INT16 Files_MaxPathLength, Files_MaxNameLength;
|
||||
static Files_FileDesc *Files_files;
|
||||
static INT16 Files_tempno;
|
||||
static CHAR Files_HOME[1024];
|
||||
|
|
@ -1084,5 +1085,7 @@ export void *Files__init(void)
|
|||
Heap_FileCount = 0;
|
||||
Files_HOME[0] = 0x00;
|
||||
Platform_GetEnv((CHAR*)"HOME", 5, (void*)Files_HOME, 1024);
|
||||
Files_MaxPathLength = Platform_MaxPathLength();
|
||||
Files_MaxNameLength = Platform_MaxNameLength();
|
||||
__ENDMOD;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue