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
commit 6dc6ea4146
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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