mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 07:32:24 +00:00
unix module now compiles under freebsd -- noch
Former-commit-id: 9f452e66b7
This commit is contained in:
parent
d57c8991bf
commit
e35950b8b8
2 changed files with 3 additions and 3 deletions
|
|
@ -441,7 +441,7 @@ from man gettimeofday
|
|||
"stat((const char*)name, (struct stat*)statbuf)";
|
||||
|
||||
PROCEDURE Stat*(name: Name; VAR statbuf: Status): INTEGER;
|
||||
VAR res: LONGINT;
|
||||
VAR res: INTEGER;
|
||||
BEGIN
|
||||
res := stat(name, statbuf);
|
||||
(* make the first 4 bytes as unique as possible (used in module Files for caching!) *)
|
||||
|
|
@ -455,7 +455,7 @@ from man gettimeofday
|
|||
"fstat(fd, (struct stat*)statbuf)";
|
||||
|
||||
PROCEDURE Fstat*(fd: INTEGER; VAR statbuf: Status): INTEGER;
|
||||
VAR res: LONGINT;
|
||||
VAR res: INTEGER;
|
||||
BEGIN
|
||||
res := fstat(fd, statbuf);
|
||||
(* make the first 4 bytes as unique as possible (used in module Files for caching!) *)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
4d768c90746d68b61cd2ee1294d42f21190a43e6
|
||||
f550c8541ce96f1ac0d6abc73b1a4fa2025e878e
|
||||
Loading…
Add table
Add a link
Reference in a new issue