Fix regression due to type change

The change is technically correct but requires too much type juggling
and the effort outweighs the gains.
This commit is contained in:
LemonBoy
2018-09-16 20:29:45 +02:00
parent 0330fb2e13
commit 62e3579655

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