diff options
author | Charles Blake <cblake@csail.mit.edu> | 2015-02-13 08:42:41 -0500 |
---|---|---|
committer | Charles Blake <cblake@csail.mit.edu> | 2015-02-13 08:42:41 -0500 |
commit | 45a2c1b1d1f18aedeb363b9ef41f9f73b028b581 (patch) | |
tree | 013013b3371756fafba5e1797d3fb2491faf45a1 /lib/posix | |
parent | 0a1bc0e9cd30ef1a3654e7637795ed22010e7977 (diff) | |
parent | 199707c189a169c4bf0b00f09775c9b7fa9343f3 (diff) | |
download | Nim-45a2c1b1d1f18aedeb363b9ef41f9f73b028b581.tar.gz |
Merge ../Nim into devel; track ttables.nim delete.
Diffstat (limited to 'lib/posix')
-rw-r--r-- | lib/posix/posix.nim | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim index fbd07ca25..52bef6de4 100644 --- a/lib/posix/posix.nim +++ b/lib/posix/posix.nim @@ -70,17 +70,10 @@ const STDIN_FILENO* = 0 ## File number of stdin; STDOUT_FILENO* = 1 ## File number of stdout; -when defined(endb): - # to not break bootstrapping again ... - type - TDIR* {.importc: "DIR", header: "<dirent.h>", - 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 + TDIR* {.importc: "DIR", header: "<dirent.h>", + incompleteStruct.} = object + ## A type representing a directory stream. type SocketHandle* = distinct cint # The type used to represent socket descriptors |