fixes --os:standalone
This commit is contained in:
parent
1a5e30b053
commit
30f8568570
3 changed files with 14 additions and 9 deletions
|
|
@ -1889,9 +1889,11 @@ when not defined(JS): #and not defined(NimrodVM):
|
|||
|
||||
# text file handling:
|
||||
var
|
||||
stdin* {.importc: "stdin", noDecl.}: TFile ## The standard input stream.
|
||||
stdout* {.importc: "stdout", noDecl.}: TFile ## The standard output stream.
|
||||
stderr* {.importc: "stderr", noDecl.}: TFile
|
||||
stdin* {.importc: "stdin", header: "<stdio.h>".}: TFile
|
||||
## The standard input stream.
|
||||
stdout* {.importc: "stdout", header: "<stdio.h>".}: TFile
|
||||
## The standard output stream.
|
||||
stderr* {.importc: "stderr", header: "<stdio.h>".}: TFile
|
||||
## The standard error stream.
|
||||
##
|
||||
## Note: In my opinion, this should not be used -- the concept of a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue