added includes to not use internal write, read in Console and Unix

Former-commit-id: b25a810007
This commit is contained in:
Norayr Chilingarian 2014-04-10 17:02:55 +04:00
parent 331170683e
commit 44dd584190
6 changed files with 15 additions and 3 deletions

View file

@ -7,6 +7,10 @@ MODULE Console; (* J. Templ, 29-June-96 *)
VAR line: ARRAY 128 OF CHAR;
pos: INTEGER;
(* for read(), write() *)
PROCEDURE -includeUnistd()
"#include <unistd.h>";
PROCEDURE -Write(adr, n: LONGINT)
"write(1/*stdout*/, adr, n)";