fixes #2116
This commit is contained in:
parent
fde16e6c3e
commit
6eb8867f1a
1 changed files with 4 additions and 11 deletions
|
|
@ -70,17 +70,10 @@ const
|
||||||
STDIN_FILENO* = 0 ## File number of stdin;
|
STDIN_FILENO* = 0 ## File number of stdin;
|
||||||
STDOUT_FILENO* = 1 ## File number of stdout;
|
STDOUT_FILENO* = 1 ## File number of stdout;
|
||||||
|
|
||||||
when defined(endb):
|
type
|
||||||
# to not break bootstrapping again ...
|
TDIR* {.importc: "DIR", header: "<dirent.h>",
|
||||||
type
|
incompleteStruct.} = object
|
||||||
TDIR* {.importc: "DIR", header: "<dirent.h>",
|
## A type representing a directory stream.
|
||||||
final, pure, incompleteStruct.} = object
|
|
||||||
## A type representing a directory stream.
|
|
||||||
else:
|
|
||||||
type
|
|
||||||
TDIR* {.importc: "DIR", header: "<dirent.h>",
|
|
||||||
final, pure.} = object
|
|
||||||
## A type representing a directory stream.
|
|
||||||
|
|
||||||
type
|
type
|
||||||
SocketHandle* = distinct cint # The type used to represent socket descriptors
|
SocketHandle* = distinct cint # The type used to represent socket descriptors
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue