From 6eb8867f1af64e28a71fc54e2f3bd3ff16e715e1 Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 13 Feb 2015 01:40:29 +0100 Subject: [PATCH] fixes #2116 --- lib/posix/posix.nim | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim index fbd07ca25e..52bef6de4b 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: "", - final, pure, incompleteStruct.} = object - ## A type representing a directory stream. -else: - type - TDIR* {.importc: "DIR", header: "", - final, pure.} = object - ## A type representing a directory stream. +type + TDIR* {.importc: "DIR", header: "", + incompleteStruct.} = object + ## A type representing a directory stream. type SocketHandle* = distinct cint # The type used to represent socket descriptors