This commit is contained in:
Araq
2014-12-17 23:21:15 +01:00
parent 73dda8a81d
commit bd88e526cf
4 changed files with 70 additions and 12 deletions

View File

@@ -33,10 +33,11 @@ type
C_JmpBuf {.importc: "jmp_buf", header: "<setjmp.h>".} = object
var
c_stdin {.importc: "stdin", nodecl.}: C_TextFileStar
c_stdout {.importc: "stdout", nodecl.}: C_TextFileStar
c_stderr {.importc: "stderr", nodecl.}: C_TextFileStar
when not defined(vm):
var
c_stdin {.importc: "stdin", nodecl.}: C_TextFileStar
c_stdout {.importc: "stdout", nodecl.}: C_TextFileStar
c_stderr {.importc: "stderr", nodecl.}: C_TextFileStar
# constants faked as variables:
when not declared(SIGINT):