mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-14 07:13:27 +00:00
Fixed _get_osfhandle declaration.
This commit is contained in:
@@ -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>".}
|
||||
Reference in New Issue
Block a user