mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 15:42:25 +00:00
Fix initial Time() value and fix GetTimeOfDay on Windows. Thanks Oleg.
This commit is contained in:
parent
c07485d5a4
commit
d9c319ef3a
2 changed files with 14 additions and 9 deletions
|
|
@ -537,7 +537,7 @@ BEGIN
|
|||
|
||||
HaltCode := -128;
|
||||
HaltHandler := NIL;
|
||||
TimeStart := Time();
|
||||
TimeStart := 0; TimeStart := Time();
|
||||
CWD := ""; getcwd(CWD);
|
||||
PID := getpid();
|
||||
|
||||
|
|
@ -548,4 +548,3 @@ BEGIN
|
|||
nl[0] := 0AX; (* LF *)
|
||||
nl[1] := 0X;
|
||||
END Platform.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue