mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 19:34:12 +00:00
fixes #1744
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user