Merge pull request #8981 from LemonBoy/fix-socket-reg

Fix regression due to type change
This commit is contained in:
LemonBoy
2018-09-17 10:51:42 +02:00
committed by GitHub

View File

@@ -410,7 +410,7 @@ else:
type
Socklen* {.importc: "socklen_t", header: "<sys/socket.h>".} = cuint
TSa_Family* {.importc: "sa_family_t", header: "<sys/socket.h>".} = cushort
TSa_Family* {.importc: "sa_family_t", header: "<sys/socket.h>".} = cint
SockAddr* {.importc: "struct sockaddr", header: "<sys/socket.h>",
pure, final.} = object ## struct sockaddr