Fixed _get_osfhandle declaration.

This commit is contained in:
Clay Sweetser
2014-04-15 02:29:37 -04:00
parent 73570cbe38
commit 733b289209

View File

@@ -718,4 +718,4 @@ proc WSASend*(s: TSocketHandle, buf: ptr TWSABuf, bufCount: DWORD,
stdcall, importc: "WSASend", dynlib: "Ws2_32.dll".}
proc get_osfhandle*(fd:TFileHandle): THandle {.
importc:"__get_osfhandle", header:"<io.h>".}
importc:"_get_osfhandle", header:"<io.h>".}