mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
appveyor: make the build green again
This commit is contained in:
@@ -516,9 +516,6 @@ type
|
||||
fd_count*: cint # unsigned
|
||||
fd_array*: array[0..FD_SETSIZE-1, SocketHandle]
|
||||
|
||||
Timeval* {.importc: "timeval", header: "<time.h>".} = object
|
||||
tv_sec*, tv_usec*: int32
|
||||
|
||||
AddrInfo* = object
|
||||
ai_flags*: cint ## Input flags.
|
||||
ai_family*: cint ## Address family of socket.
|
||||
@@ -531,6 +528,14 @@ type
|
||||
|
||||
SockLen* = cuint
|
||||
|
||||
when defined(cpp):
|
||||
type
|
||||
Timeval* {.importc: "timeval", header: "<time.h>".} = object
|
||||
tv_sec*, tv_usec*: int32
|
||||
else:
|
||||
type
|
||||
Timeval* = object
|
||||
tv_sec*, tv_usec*: int32
|
||||
|
||||
var
|
||||
SOMAXCONN* {.importc, header: "winsock2.h".}: cint
|
||||
|
||||
Reference in New Issue
Block a user